Adding translation to a plugin
#1
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!
Reply
#2
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
Reply
#3
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!
Reply
#4
(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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)