No, but the translations can be added to the upstream repo. Just create a pull request.
Niki
--
You received this message because you are subscribed to the Google Groups "Koala Framework Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to koala-framework...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I mean my own translations that I use im my app. Not only to translate existing lines in trl.xml.
--
I'm also found trlKwfStatic function. How it works?Has KWF a trlStatic function?
>- the language for (2) is always englishNo, language come from webCodeLanguage parameter. You mean (1)?
ID numeration in youapp/trl.xml comes from 1?Now my app/trl.xml file contains:<trl><text><en>Dictionaries</en><ru>Справочники</ru><id>1</id></text><text><en>Dictionary</en><ru>Справочник</ru><id>2</id></text></trl>and trl('Dictionaries') don't return russian language value =(
--
--
If user enter to app with lang setting = EN - what he can see in trlKwf() output? EN or RU?All I want is full RU and EN translations depending on user lang setting=)
--
>Kwf_Trl::getInstance()->getTargetLanguage()'ru', but user in kwf_users has 'en'
--
>do you languages defined in config?>eg:>languages.en = English>languages.ru = RussianWow...works like charm! Thx, Niko! =)
Why there is no word about this in guide?
>how could that happen?I don't know... In one place sometimes wrong value, sometimes right.>if you debug the trl output using d(trl('...'))>does that work correctly?No, wrong value =(
Ok, that should be relatively easy to debug as the should be returned as it is.
Could you try debugging that in kwf/trl.php?
Or u give me something where I can reproduce...
Niko
--
Or u give me something where I can reproduce...
Or u give me something where I can reproduce...I use same trl.xml as in my app.
But it works good with same controllers =(Huh...maybe I miss something in my app?
string(2) "ru"C:\OpenServer\domains\aviashelf\bootstrap.php:11
string(18) "а б б€аОаПаОб€б‚б‹"C:\OpenServer\domains\aviashelf\bootstrap.php:12
Could you try debugging that in kwf/trl.php?
--
--
Thx, Niko!Now translation works good and without problems... or I have not noticed yet :D
--