Sabin Iacob wrote:
> Loic Dachary wrote:
>> Hi,
>>
>> I'm preparing a patch to replace $.get in jquery.gettext.js with 
>> $.ajax mode: sync (roughly). I did not find any test code to run 
>> against and make sure I did not break anything. Do you have any ?
>>
>
> Wow, someone actually found it useful? :D
:-) You can see it in action at http://jspoker.pokersource.info/jpoker/ 
(french strings courtesy jquery.gettext.js).
> I don't have any public code that uses it (using it for a work-related 
> project), but I'll put together some tests; unfortunately, I'll only 
> be able to do it during the week-end, right now I am very busy.
>
I posted a tentative patch at :

http://plugins.jquery.com/node/2147

which also loads only the file matching the lang=xx to ensure 
scalability. I've put together a few lines of script to ease the 
maintainance in a Makefile

http://upstream.jspoker.pokersource.info/file/tip/Makefile

and turned your python snipet into a script at

http://upstream.jspoker.pokersource.info/file/07479fcbd506/mo2json.py

It still feels a little too complex for such a simple application. But 
there is apparently little interest in proper i18n for JS application.

Cheers


_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to