Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
LanguageSelector
Max_B
New
LanguageSelector
0
This discussion has been closed.
Comments
Notice: Undefined property: Context::$LanguageSelectorArray in .../extensions/LanguageSelector/default.php on line 68 Fatal error: Call to undefined function BuildLangArray() in .../extensions/LanguageSelector/default.php on line 71
My own application is closely related to Vanilla so I have to check it out with some time ahead.
But I'm rather confident, seeing the message above that the answer to icouto question is NO.
And then, to Tex: do the required changes.
Well, I will try to do. If I succeed (what I doubt right now), I will let you know.
You did not patch your 1.1.1 install, did you?
If you have been able to do it for 1.0, why not for 1.1, the files are exactly the same in that respect.
How could I forget about this? Sorry for messing up this discussion. If anybody wants to delete all my junk here, please go ahead. Thank you, Max, for your patience! I am sorry.
Thanks.
************************************** INSTALLATION, conf/language.php option ************************************** Recent releases of Vanilla inversed the order of language files include. This opens an alternate installation method, if you do NOT use conf/language.php for extensions translations. Just insert the above LanguageSelector include line in the conf/language.php files. Note: Using conf/language.php for extensions translations is NOT a good choice for a true multilingual setup. It does not allow on-fly extension switching. There is no alternate STANDARD method yet (Vanilla 1.1.2). My own method is to store extension translation in separate files and add specific includes in conf/extensions.php. Exemple : @include($Configuration['EXTENSIONS_PATH']."CategoryJumper/{$Configuration['LANGUAGE']}.php"); include($Configuration['EXTENSIONS_PATH']."CategoryJumper/default.php");
Speaking of "typos" if you have a look at the bottom of your post, you'll see that you have the word "Exemple," which as far as I know is not in the English language! :-) Also, you should add an "s" to the end of the word "translation" in "translation in separate files."
I'm still waiting to read a comment in French, without a single typo, from a native English speaker after he worked to release some useful extension…