ever-traduora icon indicating copy to clipboard operation
ever-traduora copied to clipboard

Add custom locales

Open cgudea opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe. We are evaluating various translation management platforms and one of our use cases involves different words for different clients.

Describe the solution you'd like Ideally, it would be possible to add a custom locale. Let's say for instance our customer is ACME Corp LLC, then we would be able to add a custom locale under the Add Project Locale modal. It would be nice to be able to specify the shortcode as well (en_AC). I've included a quick screenshot mockup of what the Add Locale button would look like and what a custom locale would appear as.

Additional context It may be nice to also include a custom logo.

image

cgudea avatar May 19 '20 23:05 cgudea

Thanks for the feedback. If anyone wants to jump into this feature:

Most UI components are already there to enable this, most of the changes would happen on the backend, as we would need to add support for modifying the locales table per project.

This is needed because if a user from one project modifies the locales, it shouldn’t affect other projects for which that user had no access. Right now it is handled in one single global table that is read-only, it would probably require a new table and a set of endpoints for managing the project specific locales.

anthonynsimon avatar May 20 '20 06:05 anthonynsimon