IMPORTANT: this libary need lua module from https://github.com/kaishiqi/I18N-Gettext-Supported. require 'i18n'
should work.
This library is only wrap around that, so you should read documentation to both libraries.
- Language magement: you can set mapping between languages and files. Also, you can set prefix for all files.
- Better interface: now you have got object-oriented metamethod-based API. There is no more tons of ugly methods.
- Full cocos2d-x integration: functions for saving, loading and using system language is aviable.
See DOCUMENTATION.md for help.
-
make auto-testing with Travis-ci - make manual-testing with Cocos2d-x
- write examples