Sorry, we don't support your browser.  Install a modern browser

Consider allowing to override core translations

D

I am developing a plugin for a media guide for museums and it ships translations. I would like the user to overwrite these in the panel.

E. g.:

'exhibits' => 'Tiere'

This way the plugin could be used by art museums and zoos alike :-)

However my plugin translations are treated as core translations and thus can’t be overwritten using the panel:

The variable is part of the core translation and cannot be overwritten

Would it be possible to differentiate between actual core translations and those in a plugin?

Why is this prevented anyway? I can overwrite the translation in a language file in code. It’s just the panel that wouldn’t let the user do it.

If there is no important reason I don’t know, I suggest, removing the check in LanguageVariable.php.

a year ago