Skip to content

Allow admins to correct/customize language strings #508

@otrok7

Description

@otrok7

The translation strings are currently only known on the browser side. This means we can't edit them from the PHP/ Crouton Settings Page.

The idea would be to store them on the wordpress side, probably as part of the crouton options storage and to send them to the JS side using wp_add_inline_script. Obviously, users of croutonJS can't edit the translation, they will be stuck with a static JS file, like now.

This would mean that I don't have to worry about tranlations every time a new string is added, or do a new release every time a correction comes. Admins can correct the language themselves and we can collect the changes and do a release when convenient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions