Stats
Version
0.0.6
Wheels Compatibility
1.0 RC1
Downloads
174
Last Updated
January 5, 2010
About Plugins
Plugins allow you to extend or modify default Wheels application behavior. To use, you just drop the zip file into your plugins directory and reload your application.
Read Using and Creating Plugins for more information.
Localizer
Based upon "gettext". Localizer is a plugin to "harvest" messages in your application so that they can be easily be localized into any language.
Author
Project Home
http://github.com/raulriera/Localizer
Description
- Pass in the text you wish to localize in the "localize" or "l" function.
- When you execute the code, the plugin will fill a repository.cfm file inside the "locale" folder in /plugins/localizer/
- Copy the text and translate it to the desired language using the locale as the filename, for example: en_US.cfm for English (United States).
- That's it, the plugin will replace your text with its localization the next time you run the code.
Usage/Examples
Dynamic messages
#localize("this is a dynamic string {#LsDateFormat(Now())#}")#
Static messages
#localize("this is a static string")#
