Skip to content

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

@lieszkol

Description

@lieszkol

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions