[Cosmo-dev] Stuff in the message resource files
Matthew Eernisse
mde at osafoundation.org
Mon Jul 30 14:49:53 PDT 2007
Responses inline ...
Travis Vachon wrote:
> The height and width parameters are for the "pop in new window" version
> of the about dialog box. I'm fine with pulling them out of the
> localization file, but I'm curious how you would implement this box the
> way you describe. How would you decide how large to make the new window
> to be sure that it accommodates all of the necessary text?
Nothing is foolproof, so the only way to be sure is to QA the thing
after it's been localized into whatever target languages. But in
general, you can leave plenty of whitespace for the text to expand, or
put the text in a fixed-height container that can scroll if necessary
(i.e., div with overflow: auto).
I guess the scrollable option would work well for the pop-up.
Here are some resources:
http://www.w3.org/International/articles/article-text-size
http://www.adobe.com/support/dreamweaver/manage/localization_design/localization_design03.html
http://www.translate.com/technology/multilingual_standard/text_expansion.html
http://www.universaldialog.com/html/expand.html
These look pretty good -- interestingly, they all say that
Chinese/Japanese text tends to *shrink,* which is contrary to my
experience. I guess that could have something to do with either font
sizes, or the fact that the English source text had a lot of abbreviations.
> I'm fine with moving these out of the message resource file, but I would
> say I'm -0 on doing this before 0.7.
>
> -Travis
No big rush, I was more wanting to clarify what those localized message
resource files should have in them. As long as that stuff makes it out
of there sometime reasonably soon I'm happy.
Thanks.
Matthew
More information about the cosmo-dev
mailing list