turquoiseowl / i18n

Smart internationalization for ASP.NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

messages.po customization

Sshnyari opened this issue · comments

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.

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

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

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

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.