Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Translating plugins
Tudor
✭
I've been trying to translate a few plugins and I (think I) followed the steps detailed here. So:
- I made this file: pluginfolder/locale/ro_RO.php
- The file contains two lines:
Result: not working. Am I doing something wrong?
- I made this file: pluginfolder/locale/ro_RO.php
- The file contains two lines:
<?php
$Definition['original string'] = 'translated string';
Result: not working. Am I doing something wrong?
Tagged:
0
Comments
I'm thinking of adding the feature so that you can name your translation files like this: This will tell the framework to only include the file if the plugin is enabled. What do you think?
Indeed, the plugin translation works if I put it into my locale pack.
I don't want to mix all plugin translations in core locale definitions though if it is disabled. Also I don't want to spread plugin translations wide in each plugin dir.
I want to manage them in one location AND load on demand if it is enabled.
One thing, it's better to change loading section by plugin version, I think.
If you dont mind..please visit my blog at Penterjemah