nicksnyder / go-i18n

Translate your Go program into multiple languages.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

does go-i18n support text files for storing translations

shreyasGit opened this issue · comments

Hi,
went through docs and examples i saw go-i18n supports json,toml files for translations. are .properties file supported as well?
coming from java background , process is set to use .properties files.
any help would be great.

thanks

The library does not support it, but you can write your own parser for whatever format you want and manually load translations into a bundle.