in reply to Writing multilingual perl applications?
get_localized_messsage($app_id, $lang_id, 35, 'Joe Customer', 3);
which would return 'Welcome back, Joe Customer. It's been 3 days since you visited our site.' provided that message number 35 (in English) for this application is 'Welcome back, {0}. It's been {1} days since you visited our site.'. The place holders can be moved around by the translators to accommodate the syntax of different languages.
|
|---|