Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit
https://github.com/akelos/akelos/issues
Akelos PHP Framework Forum
Discussions
Categories
Internationalization (i18n) & Localization (l10n)
: translation is not working ...
Bottom of Page
1 to 5 of 5
CommentAuthor
delia
hi,
i have filled my locale file in /config/locales/es.php with my strings in this way:
$dictionary = array();
$dictionary['first'] = "primera";
..................
but the translation doesnt seem to work...
i dont know what parameters must i set to get it work....
any idea?
thanks!
CommentAuthor
delia
no one can help me with this?? what parameters/constants must i set to get this working?? Thanks in advance!
CommentAuthor
gow
Hi delia,
did you solve this problem? I also have this problem.
My environment is windows vista, xampp 1.6.8(php 5.2.6), akelos 1.0.1.
And does anyone know where to put a locale file (like es.php) for error messages about validation ?
CommentAuthor
gow
I found the solution, though don't know why.
1.edit below file
\akelos\lib\AkActionController\AkPaginator.php
old> ak::t('next')
new> ak::t('next', array(), 'localize/paginator')
2.copy locale file
copy config/locales/ja.php to app/locales/localize/paginator/ja.php
CommentAuthor
delia
hi gow,
i didnt find the solution..... i'll test with the one you have found.
Thanks!
1 to 5 of 5
Back to Discussions
Top of Page