I have a rather specific question for the experts: How would I have to change the SubscribersPlugin.php file so that the labels for the menu items / page titles get pulled from the respective file in the plugin’s language directory?
I suspect I have to change the following code bit to something including “i18n->get()” but how exactly and what else do I have to add?
The translations are now a bit out of date and reflect when the plugin had one page with three tabs instead of three separate pages. Give me a couple of days and I will update the plugin, then you can provide me with the translations for the menu items in French or German.
I’ll gladly provide the German translation (not just for the menu items, of course). I have already translated the items which are currently in the language array. Maybe I’ll translate the language files for some of the other plugins as well.
I have made some changes to allow the menu items to be translated. You should update the Subscribers plugin and Common plugin from the Manage Plugins page.
It would be great if you can review the German translation in the file SubscribersPlugin/lan/de_UTF_8.php. The aim is to bring it in line with the English file, en.php, currently there are many items missing.
Also, if you can do the same for Common Plugin in the files CommonPlugin/lan/en.php and de_UTF-8.php.
Then add the modified files to a new reply. I will test the changes and then create a new release of each plugin.
Thanks
@PeterBuijs thanks for making the translations. I found that the English file needed to be updated so have changed that and added lines to your file. Do you mind reviewing that and providing the new translations? nl.php.zip (2.6 KB)
The new or modified lines that I would like you to look at are marked with // <=
@PeterBuijs Thanks. I will include that in a new release of the Subscribers plugin. I have already made a new release of Common plugin with your other translations.