Community « Discussion forum « Localization support board « First tests of localizations have been positive «
Comment: First tests of localizations have been positive
| << Previous | Next >> |
Comment inspired from vincent
Vincent: Thank you for your help on i18n and l10n... Actually the issue is not in extracting strings from YACS, but in changing the code to adapt to localization.
Before localization we had:
And after localization we have:
Therefore the need to review and change all scripts one by one...
Before localization we had:
$local['label_en'] = 'a message';
$local['label_fr'] = 'un message';
$label = i18n::user('label');
And after localization we have:
$label = i18n:s('a message');
Therefore the need to review and change all scripts one by one...
This comment has inspired:
by Bernard on Nov. 1 2006
