Last Comment Bug 8525 - Strres shall support more robust fallback scheme
: Strres shall support more robust fallback scheme
Status: VERIFIED DUPLICATE of bug 8188
:
Product: Core
Classification: Components
Component: Internationalization (show other bugs)
: Trunk
: All All
: P3 normal (vote)
: M10
Assigned To: tao
: Teruko Kobayashi
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 1999-06-18 17:32 PDT by tao
Modified: 1999-09-14 15:14 PDT (History)
2 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description tao 1999-06-18 17:32:57 PDT
There is no fallback mechanism in the current implementation. I have patches
in my tree to enable a simple, "lang_country" -> "lang" -> "", fallback.

However, we may want to consider a little more sophiscated scheme such as
"user's locale" -> "default application locale" -> "none" type fallback. For
example, The strres class is provided with "fr_CA" and the application locale
is "en-US", then the fallback path will be

 fr_CA -> fr -> en_US -> en -> none
Comment 1 tao 1999-06-23 10:28:59 PDT
I had checked in a patch to perform the "fr_CA ->fr->none" part of the
fallback.

See bug

	http://bugzilla.mozilla.org/show_bug.cgi?id=8188


for details.
Comment 2 tao 1999-07-01 13:54:59 PDT
This is not a M8 show stopper. We need more discussion on how the mechanism
shall work.
Comment 3 tao 1999-07-23 18:53:59 PDT
non show stopper-> M11
Comment 4 tao 1999-08-19 14:00:59 PDT
We'll embed the locale name in the URL path instead of filename. See bug 8188.

*** This bug has been marked as a duplicate of 8188 ***
Comment 5 Jay Patel [:jay] 1999-09-14 15:14:59 PDT
verified dup

Note You need to log in before you can comment on or make changes to this bug.