VitaliiTsilnyk / NGettext

A cross-platform .NET implementation of the GNU/Gettext library.
MIT License
215 stars 46 forks source link

Does *.po/*.mo files embeding into assymbly on build? #24

Closed glebov21 closed 5 years ago

glebov21 commented 5 years ago

subj

VitaliiTsilnyk commented 5 years ago

No, this library provides only the runtime part. You have to extract strings and compile mo files by yourself (you can do it very easily with tools like Poedit, you can find how to do it in the readme). Then you can embed your resulting mo files into assembly resources (or even place them somewhere outside) and load during the startup of your app. It's up to yo where to store the file and how to load it. The library provides a convenient interface to load translation files from a filesystem or from a stream.

glebov21 commented 5 years ago

Thanks for reply