Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

messages.po customization #305

Closed
Sshnyari opened this issue Oct 27, 2016 · 5 comments
Closed

messages.po customization #305

Sshnyari opened this issue Oct 27, 2016 · 5 comments

Comments

@Sshnyari
Copy link
Contributor

Is there a way to customize the names of the po[t] files or use multiple files as translation source ?

Multiple file can be useful if you want to split wordings into categories/contexts and load only the needed ones instead of having one huge po file to maintain.

@turquoiseowl
Copy link
Owner

Not supported as it stands. Agains, feel free to submit PR. Thanks.

@Sshnyari
Copy link
Contributor Author

Sshnyari commented Nov 3, 2016

Here is a small patch for customizing po/pot filename.

For the multiple files feature, what do you think about it in your end ?

file.txt

@Sshnyari
Copy link
Contributor Author

Sshnyari commented Nov 3, 2016

Here is a quick patch for using multiple po files (it includes the previous patch)
file.txt

@ajbeaven
Copy link
Contributor

ajbeaven commented Nov 20, 2016

This would be awesome.

It would also be nice to be able to tag nuggets with a category and have PostBuild generate separate .pot files that only include translations in the specified category.

My use case is that an administration panel on my site only requires one translation but the public facing side of the site requires many different translations.

@turquoiseowl
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants