Ticket #818 (closed defect: worksforme)
i18n localize bug
| Reported by: | kenci | Owned by: | knut |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1.3 |
| Component: | Prado Framework v3 | Version: | 3.1 |
| Severity: | minor | Keywords: | I18n Globalization localize |
| Cc: |
Description
If i set this code in Page.php:
$this->Title = Prado::localize("Login");
I edited messages.xml file and insert the translated strings in there, but the localize function doesn't return me the translated text. Instead of returning the translated string it writes the same source strings in there, and this each request.
If i set this in Page.php:
$this->Title = "Login";
everything seems to be fine.
Thanks.
Change History
Note: See
TracTickets for help on using
tickets.
