Hello World,
Ionut kindly provided me with a version of J!Extranet in order to use a different back-end language (language.xml). I have tested it and it is working fine thanks. Maybe he already knows exactly how he will generalise and release this to allow installation of any back-end language, but in case not this post is to start a discussion and get ideas (I do not know php and am new to Joomla). This post also discusses selection of the front-end language.
Firstly when a prospective front-user goes to the first screen for the first time (only extranet.php involved here?) how would J!Extranet know which language to use to present it to them (currently it is hardcoded in extranet.php for the first time they arrive - later it is picked up from a cookie). I guess it would be best to get it from the HTTP header or from Joomla or JoomFish (I am using JoomFish but not really sure how it works yet) and if that front end language is not available then default to the same language as the back-end language or English.
Secondly when the front-end user wishes to change their language it would be nice if the name of the language could use their own character set. However currently the list of names is the list of front end language file names and I understand Joomla only allows Latin characters for those. I don't know if there is any better way than having the files named with international standard language codes and coding a lookup table between the language codes and their local language names (e.g. en=English, tr=Türkçe etc.). Unless the local names can be got from somewhere rather than re-inventing the wheel?
None of this is really urgent or important for me as I expect 99.9% of my customers' clients will use the same language. So I will just use the temporary differently hardcoded extranet.xml for the present.
Regards
Geoff