Per-role translations #4

Open
opened 2020-04-17 16:36:21 +00:00 by southerntofu · 0 comments
Owner

Right now, all translations are located in the current working dir. This means to avoid collisions in large playbooks we get to do prefixing like role-task-something for translation keys.

It would be nice if we could have translations for individual roles. That would make it easier to maintain/merge translations.

So we could have translations for play names and basic keywords in the root i18n folder, and per-role subdictionaries located in roles/ROLE/i18n/*.yml

Right now, all translations are located in the current working dir. This means to avoid collisions in large playbooks we get to do prefixing like `role-task-something` for translation keys. It would be nice if we could have translations for individual roles. That would make it easier to maintain/merge translations. So we could have translations for play names and basic keywords in the root i18n folder, and per-role subdictionaries located in roles/ROLE/i18n/*.yml
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: southerntofu/ansible-i18n#4
No description provided.