Skip to content

[Question] How do you deploy translations? #158

Open
@niels-numbers

Description

@niels-numbers

Hi, thanks for this awesome translation-manager.

How is it thought to use this translation-manager in production? Is there any idea how it can be used by developers and non-developer site users?

When a developer adds a key, he usually changes the key:value pair in resoures/lang/en/some_group.php so far. In my scenario, the language groups are tracked by git, so they get deployed. However, with this setup, if people make changes in my-domain.org/tranlsations in production the changes won't take effect, because they are only stored in the database. I was thinking of calling translation:export on deploy to overwrite the language files with the info from the database. However, this would have the downside that the developer needs to add his new keys on production at my-domain.org/tranlsations.

Am I missing anything? Or is this package not recommended to be use in production?

We are thin

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