Wednesday, September 24, 2008

Variables in localization strings

When localizing an application, is there a way to deal with variables
that require a certain order in the locale without creating a
conditional statement?

For example:

French: __("objectif", true) . " " . $year;

English: $year . " " . __("objectif", true);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: