MyBB Community Forums

Full Version: Adding translation to a plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi: I'm using the NewPoints plugin and see that it does not have any translations available. I would need a Chinese translation of the plugin - could anybody point me to any docs on how to add a translation to a plugin? Thanks!
You need to copy the english language files of the plugin into your language folder and translate them with an editor like notepad++ for example

Files are :
/inc/languages/english/newpoints.lang.php
/inc/languages/english/admin/newpoints.lang.php
/inc/languages/english/admin/newpoints_module_meta.lang.php
Great thanks, let me do that! so after we do that, the translation will be automatic, meaning, if the user changes the language to Chinese, he/she should be able to see every NewPoints page in Chinese? (i have already installed the Chinese translation for the whole site)

Thanks!
(2023-03-19, 05:21 PM)baoziba Wrote: [ -> ]Great thanks, let me do that! so after we do that, the translation will be automatic, meaning, if the user changes the language to Chinese, he/she should be able to see every NewPoints page in Chinese?

Yes exactly