Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow editing of plugin translation override files stored in the site root /lang directory via the Developer Tools plugin? #4

Open
lieszkol opened this issue Nov 15, 2020 · 1 comment

Comments

@lieszkol
Copy link

Hi there Gergő!

I'm looking for a solution to enable my site owners/admins to be able to override the translation files for 3rd party plugins themselves, without having to resort to ftp. It is possible to edit plugin language files using the developer tools plugin, but this is not a good solution since these edited files can be overwritten during a plugin update.

Let me give an example along with how I would imagine this to work.

On one of my client's sites we are using the awesome offline.mall plugin. This plugin sends out many emails (order received, confirmed, payment failed etc.). The text for these emails makes use of strings stored in the plugins language files, for example the language file for hungarian is at: \plugins\offline\mall\lang\hu\mail.php

As a dev, I can override this file by copying it into this directory (in the site's web root dir): \lang\hu\offline\mall\mail.php

It would be great if I could then use the Developer Tools to edit this file - and then enable my site owners to do so on their own. So, basically, I'm asking for the Developer Tools plugin to be able to edit any file in the site root /lang/ subdirectory.

I was also hoping to use your "Quick Edit" plugin for this, but there also it is not possible to select any file in the /lang/ subdirectory to edit.

És egyébként ezer köszönet ezekért a kiváló pluginokért!

@lieszkol
Copy link
Author

FYI Marc Jauvin has just made a plugin based on the Builder plugin, which covers this requirement - but still, it would be nice if the Quick Edit plugin or the Devtools plugin made this possible as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant