MyBB Community Forums

Full Version: Please set a unique ID for your language variables
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi MyBB developers,
I'm currently doing some custom arrangements for my language translation and did notice that some plugins use many global variables which are really stripping my mind, because I have to search where they're located into.

In particular I found two global variables within Profile Picture plugin and Username Changes and Approval. They both were restoring the English translation for $l['options'] in ACP and $l['usercp'] in Front-end part.

This is a global alert to avoid this kind of behaviors. Please be unique and set your own custom language variables.

Thanks and regards from Shade.
Amen to that. Language variables in plugins should always be prefixed with the plugin's name in my mind.