When doing translations in phptal you can use any backend to load the translation map (not just gettext) by extending the translationservice class and pass this to setTranslator(); personally I would load single translation files inside the useDomain() method and/or setLanguage()
For Javascript I have an __toJS() extension to generate a translator object in JS itself by writing out the map (using json_encode) and one translate() function inside the same object. On 6/13/09, michal <hosema...@poczta.onet.pl> wrote: > Kornel Lesinski <kor...@...> writes: > >> >> Well, it certainly wouldn't be faster, because access to variables >> from PHPTAL object is quite slow (they are stored in this object). >> >> And I really don't get it why do you want to use PHPTAL class for >> managing translations, rather than some other class that's designed >> for that purpose. >> > > > If you can see other, better solution for my application ,some advices are > welcome > > greetings > Majkel > > > _______________________________________________ > PHPTAL mailing list > PHPTAL@lists.motion-twin.com > http://lists.motion-twin.com/mailman/listinfo/phptal > -- -- Tjerk _______________________________________________ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal