Localization strings in PO files should not be treated on a word-for- word basis. It is much more convenient to enter phrases (at the least) or paragraphs (at the most) that you want to translate. It might also be helpful that you do a page-by-page audit of your web app, and from there coordinate with your translator on how you would like to translate the content.
On Apr 18, 1:59 pm, Vesa Jääskeläinen <[email protected]> wrote: > Hi All, > > In some situations some localization entries in .po file can have > empty strings defined in some languages and in some other languages > there should be some text. > > So in example in locale A's .po file there would be: > > msgid "Entry" > msgstr "" > > And then in locale B's .po file: > > msgid "Entry" > msgstr "This local has special stuff here" > > Now CakePHP seems to insist with __('Entry', true) giving "Entry" for > locale A instead of defined empty string. > > So the questions: > > 1) Can it be considered a bug that will be fixed in future release? > Preferably in which :) > > 2) If not, what is the way to get this empty string from localization > file in proper CakePHP way? > > I can always hack CakePHP's libs to work in this way but I would like > to keep it as close to original as possible. > > Thanks, > Vesa Jääskeläinen > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with > their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] For more options, visit this group > athttp://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
