Add languages forlder and files for plugin
I'm working on a plugin, and I cannot easily deals with translation of my plugin.
May be we can add langages files in the plugin directory.
For example, files french.php, english.php in a subfolder lang of the plugin :
Updated by Laurent Opprecht almost 8 years ago
You will need to inherit from Plugin and use myplugin->get_lang().
I noticed a small bug when the the title is my_plugin_plugin - on _ in the plugin name.
For the moment I am correcting that manually by changing the name - see search_course_plugin for an example.
Updated by Julio Montoya almost 8 years ago
- Status changed from New to Needs more info
- Target version changed from 1.9.2 to 1.9 RC1
I added support to the get_lang function in the plugins when using twig or the classic index.php. I added language support to the hello_world and the show_user_info plugins.