Closed
Bug 62730
Opened 24 years ago
Closed 23 years ago
Move file into Locale Directory
Categories
(Core :: Internationalization: Localization, defect, P2)
Core
Internationalization: Localization
Tracking
()
VERIFIED
FIXED
mozilla0.9.2
People
(Reporter: Sebastian, Assigned: morse)
References
Details
(Keywords: l12y)
Attachments
(4 files)
6.15 KB,
text/plain
|
Details | |
11.26 KB,
patch
|
Details | Diff | Splinter Review | |
12.32 KB,
patch
|
Details | Diff | Splinter Review | |
1.86 KB,
patch
|
Details | Diff | Splinter Review |
The form manager offers the possibility to prefill you personal information e.g. the zipcode in the format xxx - xxx. Well, I live in Germany and we only have one number as zipcode, where to fill it in and which field to leave empty? You can take this as a more general bug: Items need a more describtive and(or example text.
Assignee | ||
Comment 1•24 years ago
|
||
That's not just a nitpick but actually an important comment. As mentioned in bug 62727 and 62749, the dialog that you are seeing was just introduced into the build yesterday. The dialog that it replaced was actually schema neutral and language neutral. That is, every schema was presented by its name along with the value that it contained. There was no attempt at interpreting a meaning on the schema and therefore no attempt to present the different schema to the user in a logical fashion (such as putting the two parts of the zipcode alongside each other). That had the advantage of not needing to be localized but the disadvantage of not being that easy to understand. This new dialog is certainly dependent on locality. Addresses in general are something that vary in different countries (in Japan I believe the entire address is written on a single line). So this dialog (xul file sas well as dtd file) will need to be customized for the different languages. I'm keeping this bug open as a reminder to do the localization of these xul files. Assigning it to the l10n team.
Assignee: morse → rchen
Component: Form Manager → Localization
QA Contact: tpreston → teruko
Comment 3•24 years ago
|
||
one of the collection of the address formats used in different countries could be found at http://msdn.microsoft.com/library/books/devintl/S25D1.HTM morse, can you design your dialogbox based on this information ?
Assignee: ftang → morse
Assignee | ||
Comment 4•24 years ago
|
||
That collection of address formats is very interesting and certainly of help in customizing the dialog for each locality. Now the question comes up as to who should do this. I did the dialog for US-english format. Wouldn't it be the l10n team that does an equivalent dialog for each country that we want to support? If that's true, then this bug shouldn't be assigned to me but should go to someone in the l10n team.
Comment 5•24 years ago
|
||
Adding roberts to cc: list.
No Steve, the localization team is not responsible for this change; UI has to be properly designed for internationalization. IFrank (i18n, not l10n) may be able to help you. You may want to look at addressbook UI or talk to Paul Hangas. If I recall correctly he did it for AB.
Assignee | ||
Updated•24 years ago
|
Summary: [nitpick] how to handle zipcode et al.? → how to handle zipcode et al.?
Comment 7•24 years ago
|
||
Adding nsbeta1 and l12y keywords.
Assignee | ||
Updated•24 years ago
|
Priority: P3 → --
Assignee | ||
Updated•24 years ago
|
Target Milestone: --- → mozilla1.0
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Steve, l12y bugs have to be fixed before beta1. Please, reconsider milestone.
Updated•23 years ago
|
Keywords: mozilla0.9
Comment 9•23 years ago
|
||
Ray/Bobj - Didn't we talk to Steve about this bug already. Also, I'm confused as to why this bug is marked as M1.0 and given a severity of trivial, if Steve says ". . . not just a nitpick but actually an important comment."
Comment 10•23 years ago
|
||
Steve, I would suggest you to post the wallet document with instruction here or news group for outside developers so that they know the way to implement the different formats if they like.
Assignee | ||
Comment 11•23 years ago
|
||
Assignee | ||
Comment 12•23 years ago
|
||
Per vishy's request, my recommendation for this is nsbeta1+. However there is not much I can do to close out this report because it involves formatting dialogs for different local customs of which I am not familiar. IMO this is a task for the l10n team but they assigned it back to me.
Updated•23 years ago
|
Comment 13•23 years ago
|
||
L10n engr team does not do core engineering feature work.
Comment 14•23 years ago
|
||
I agree with MCarlson's comments, L10N does not do core feature development, nor do they provide market specifications. Questoins for Steve - - Is this a schema table issue (i.e. Is the user only impacted when they try to enter into Preferences |Forms)? Can the user add a localized field to the schema table, via 'SaveForm Data'?
Comment 15•23 years ago
|
||
Hello Steve? A little information . . ..
Assignee | ||
Comment 16•23 years ago
|
||
Sorry for not responding. I didn't understand the question. I'll give you a call so we can discuss this.
Comment 17•23 years ago
|
||
Changing Summary to better reflect the work we need morse to do for this cycle, as oppossed to iCPM and L10N. I think we should move the XUL into locale folder, and International PM (i.e. Jaime) should define the dialogue for L10N (Note: Need to open a bug for each geography, assigned to jaimejr for definition, then to danielmc, and michele for engineering). Tao? - Is this moving this XUL dialogue into Locales the right thing to do, if we need to localize for each geography?
Summary: how to handle zipcode et al.? → Move file into Locale Directory
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla1.0 → mozilla0.9.1
Assignee | ||
Comment 18•23 years ago
|
||
Attaching a patch that puts the xul files requiring localization into the locale en-us.jar file rather than the comm.jar file. Is this proposed change sufficient to make sure the these xul files will get localized? This is the way all localizable files (.dtd and .property) for wallet and cookies are currently handled. And they are currently getting localized so this is obviously working. I realize that the more desirable thing is to restucture the folders so that we have a separate content folder and a separate locale folder. But is it really necessary to do all that just to get the current xul files in question localized? Tao, Jaime said that you were the person who could answer this question.
Assignee | ||
Comment 19•23 years ago
|
||
Comment 20•23 years ago
|
||
Moving XUL files to en-US.jar is a short term work around. The long term solution might be the combination of XUL overlay and template which is more localization friendly.
Assignee | ||
Comment 21•23 years ago
|
||
tao, if you agree that this will fix the problem, at least in the short term, could you please put your r=tao here. Thanks.
Comment 22•23 years ago
|
||
Adding dveditz to cc: list for architectural direction on how to best implement this change.
Comment 23•23 years ago
|
||
Hi, Steve: How do we change the layout of the Address fields? In other words, which files to modify? thx
Assignee | ||
Comment 24•23 years ago
|
||
The files that you would need to modify in order to change layout of addresses, for example, in order to meet local conventions are the xul files that I am moving to the en-US.jar file in the patch.
Assignee | ||
Comment 25•23 years ago
|
||
tao, please review this patch.
Comment 26•23 years ago
|
||
r=rchen
Assignee | ||
Comment 27•23 years ago
|
||
cc'ing alecf for sr
Comment 28•23 years ago
|
||
Should this be in the region pack not in the language pack? This information is region, not language specific.
Comment 29•23 years ago
|
||
Daniel - Sounds like a good idea to me. Morse - Since this information is geographically limted, not language, a better place to put this information, might be in the content packs for each geogrpahy.
Assignee | ||
Comment 30•23 years ago
|
||
I don't know how to put things in the content packs. Is there someone else who should be taking over this bug? If not, give me more details and I'll do it.
Comment 31•23 years ago
|
||
Morse - Tao would be the best person to help, but he is on vacation. Requesting help from Bobj, Ftang, Danielmc or RChen.
Comment 32•23 years ago
|
||
leaf may know the details of packaging. cc leaf.
Comment 33•23 years ago
|
||
nav triage: its too late to complete this bug. morse has taken it pretty far, has patches, but we need someone from i18n group to own this one now to take it to completion. moving to mozilla0.9.2 at least.
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Comment 34•23 years ago
|
||
Agreed - M0.9.2 WFM. Pls updating keyword, with a minus for nsbeta1.
Comment 35•23 years ago
|
||
nav intl triage: accepting for m0.9.2, P2.
Comment 36•23 years ago
|
||
I talk to rchen about this and we are not 100% sure what should be done to move it to US.jar but here is our guess. morse, can you try it? 1. in extensions/wallet/jar.mn create another group US.jar: under the last iine. I think you need add a empty line as delimeter. 2. move the following from under en-US.jar: to under US.jar: . also, change the path from locale/en-US/wallet/ to locale/US/wallet/ + locale/US/wallet/WalletAddress.xul (editor/WalletAddress.xul) + locale/US/wallet/WalletBilling.xul (editor/WalletBilling.xul) + locale/US/wallet/WalletConcatenated.xul (editor/WalletConcatenated.xul) + locale/US/wallet/WalletCredit.xul (editor/WalletCredit.xul) + locale/US/wallet/WalletEmploy.xul (editor/WalletEmploy.xul) + locale/US/wallet/WalletMisc.xul (editor/WalletMisc.xul) + locale/US/wallet/WalletName.xul (editor/WalletName.xul) + locale/US/wallet/WalletOther.xul (editor/WalletOther.xul) + locale/US/wallet/WalletPhone.xul (editor/WalletPhone.xul) + locale/US/wallet/WalletPrimary.xul (editor/WalletPrimary.xul) + locale/US/wallet/WalletShipping.xul (editor/WalletShipping.xul) + locale/US/wallet/WalletUrlspecific.xul (editor/WalletUrlspecific.xul) Not 100% sure this will work. But can you try ? thanks
Comment 37•23 years ago
|
||
steve- your patch does not work in my system Have you test it before you submit ?
Assignee | ||
Comment 38•23 years ago
|
||
I'm sure I tested it once upon a time.
Comment 39•23 years ago
|
||
here is a new patch which work on my system I only change the jar.mn, makefile.win and Makefile.in from you patch. The first two files should be the same.
Comment 40•23 years ago
|
||
Assignee | ||
Comment 41•23 years ago
|
||
r=morse
Updated•23 years ago
|
Comment 43•23 years ago
|
||
ouch... this seems like a huge burden to place on localizers, but sr=alecf
Comment 44•23 years ago
|
||
a= asa@mozilla.org for checkin to the trunk. (on behalf of drivers)
Assignee | ||
Comment 45•23 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 46•23 years ago
|
||
With this change, dialogs launched by: Tasks | Privacy and Security | Form Manager | View Captured Form Data are no longer constructed properly. I'm getting the JS error: chrome://communicator/content/wallet/WalletViewer.js line 124: elementIDs has no properties when dialog loads. Is anyone seeing this in optimized builds? I tried clobbering the wallet directory, do I need to do a complete clobber build to correctly relocate wallet UI?
Assignee | ||
Comment 47•23 years ago
|
||
I'm seeing the problem too. Reopening. ftang, can you revise the patch to avoid this regression?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 48•23 years ago
|
||
With my build from 6/9, I could "fix" the missing widgets by changing "locale" back to "content" for the XUL chrome URLs. Then I did a complete clobber build, and now I can't seem to fix this in the same way. I think there's some mixup with trying to put localizable files (just DTD?) in "locale" directories, but keeping the XUL files in "content" directories. Note that there wallet preview and overlay JS and XUL files are in "comm.jar", but the wallet XUL files relating to editor are in "us.jar", but the url to reference these is: "chrome://communicator/locale/wallet/..." (e.g., "communicator/locale/wallet/WalletName.xul", the source of the content for editing the "Name" items). This seems to be the source of the problem. Why were XUL files move from the "content" subdirectory in the jar file?
Comment 49•23 years ago
|
||
Sorry, nevermind my last question, I see why we wanted to move XUL files into localizable area, but I agree with Alec: what a lot of work to expect from localizers!
Comment 50•23 years ago
|
||
Comment 51•23 years ago
|
||
Ok, try the "Experiment" patch from 6/10, which copies entries for all the xul files we want to localize into the "en-us.jar" part of jar.mn. (I did not delete them from the "us.jar" section). Everything works with this patch. So obviously the files are not being found when placed in "us.jar" because of the automatic country-searching done when "locale" directories are used, correct? So is the final fix to simply put these in 'en-us.jar' as I have done, but eliminate 'us.jar'? Why was "us.jar" used in the first place?
Assignee | ||
Comment 52•23 years ago
|
||
Charlie, it looks like you are experimenting with putting the files into the en-US jar file instead of the US jar file. This is what I attempted in patch id 32651 (4-30). But that's not what l10n wanted. They wanted the files put into region packs, not language packs. That's why they wanted to use US jar instead of en-US jar. The difference between a language pack and a region pack, if I understandit correctly, is that the former has to do with the translation of strings into the language and the other has to do with local conventions of the region (does month precede day or day precede month in a date, etc).
Comment 53•23 years ago
|
||
Well, that may be what they want, but they didn't get it right! My suggested patch wasn't intended as the final fix, but only to prove it wasn't my changes and to give us a short-term method to be able to test the UI and close bug 82655. Could you retest that with my patch here so we can close 82655? It worked fine for me.
Assignee | ||
Comment 54•23 years ago
|
||
Charlie, your experimental patch of 6/10 does not work for me. I still get a blank right-half in the dialog.
Assignee | ||
Updated•23 years ago
|
Whiteboard: patch available, awaiting reviews
Assignee | ||
Comment 55•23 years ago
|
||
I'm going to re-close this because we have done what the bug report asks for -- i.e., move the files to to the locale directory. But in the process we broke something else. It's bad to morph a bug report. And sfraser has opened bug 85300 for the new problem. So I've cc'ed all the people on this report into the new report.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Comment 56•23 years ago
|
||
I will suggest we either back out http://bugzilla.mozilla.org/showattachment.cgi?attach_id=36541 for now or take charles work around http://bugzilla.mozilla.org/showattachment.cgi?attach_id=37839 for now untill we find out the real fix.
You need to log in
before you can comment on or make changes to this bug.
Description
•