[Cosmo-dev] Stuff in the message resource files
Matthew Eernisse
mde at osafoundation.org
Mon Jul 30 13:24:46 PDT 2007
Howdy.
I was just adding some missed localized strings to the message resource
file for the PIM, and noticed this:
About.NoticesUrl=/NOTICE.txt
About.Width=500
About.Height=500
I'm guessing that the idea was to be able to make the dialog box
different sizes depending on the target language. However, as far as I
know, the localization best practice is just to design all the UI
elements with the aim of allowing expanded text string lengths (e.g.,
for languages like German or Chinese that often use more space).
That allows you to design your UI with an idea of how big the UI
elements are going to be, which can be pretty important.
For the URL for a localized file -- when I've ever done this before,
we've added a language param to the path so that it grabs the right file
automagically.
Seems like the message resource file should only have translatable
strings in it. Could we find a home for that stuff somewhere else?
Thanks.
Matthew
More information about the cosmo-dev
mailing list