turquoiseowl / i18n

Smart internationalization for ASP.NET
Other
556 stars 156 forks source link

GenerateTemplatePerFile deletes translations #361

Open zeljkokalezic opened 6 years ago

zeljkokalezic commented 6 years ago

When GenerateTemplatePerFile option is set to true it deletes existing translations from messages.po files instead of merging them with untranslated nuggets.

Issue can be mitigated by setting the value to false.

Not sure if this is intended behaviour or a bug 😄

In web.config: <add key="i18n.GenerateTemplatePerFile" value="true" />

joshrizzo commented 4 years ago

Same problem 2 years later. I tried putting it into another file hoping it would merge the two .po files at runtime. I don't think that works either.