Mike Rockett Posted April 27, 2015 Posted April 27, 2015 Hi All I'm more than likely missing something here, but it seems that one is unable to translate their module using language packs distributed with the module itself - say, in a lang directory. Is this possible? If not, how can I translate my module so that it's ready in the set language of the user?
LostKobrakai Posted April 27, 2015 Posted April 27, 2015 Languages are defined in a per installation basis (name and label are free to choose), therefore you cannot set your module automatically to the users language. The only fixed language is the default one, which could also be translated to something other than english. The only option you have is providing the translation .json files, so the users can install them by themselves (or automating this step with asking for the languages in which certain translations should be put). Also please look in the forums before asking, there where certainly other threads about handling module translations before.
Mike Rockett Posted April 27, 2015 Author Posted April 27, 2015 I thought that might be the case (the JSON automation). Thanks for the clarification. Indeed I did search first (always do), but didn't find anything relating to this.
horst Posted April 27, 2015 Posted April 27, 2015 link = https :// www.google.com/ search?q=site:processwire.com/talk+-%22Viewing+Profile%22+module+translation gives me back way too many results, but it gives me Not sure, - do you already know these: https://processwire.com/talk/topic/7298-google-custom-search-for-your-browserbookmarks/ https://processwire.com/talk/topic/6196-easy-search-on-pw-forums-with-google/ 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now