Limitations: This extension packages the gTranslate code for easy use on phpBB so its operation is limited to how they have written that code.
The gTranslate code translates THE WHOLE PAGE, including Topics, Categories, Usernames etc.
Some spaces in the template are removed but this does not affect readability.
If you are using the board in a translated language not all of the Moderation Tools will function.
It sets the default language to that of your browser.
... then why not just install the German Language pack?
I have install it and when I use it, translation did not work and I will use the translation.
Code: Select all
"detect_browser_language": false,
"wrapper_selector": ".gtranslate_wrapper",
"default_language":"{{ TRANSLATE_DEFAULT_LANG |escape('js') }}",
Code: Select all
function myFunction() {
lang_array_english.push("zz":"No Translate");
document.getElementById(".gtranslate_wrapper").innerHTML = lang_array_english;
}
myFunction();
success test
, and it seems my usernames no longer translated with the no translation class. All you need to do is using the basic function that outputs usernames and add this no translate before the names. I am uncertain if I can this into my gTranslate Code. I think not have enough knowledge for yet. Writing a new extension for doing this with all usernames is another bad solution, the best things gTranslate could do it over: Code: Select all
'core.modify_username_string' => 'modify_username_string',
Hello Miri4ever,Miri4ever wrote: Sun Jul 09, 2023 9:10 pm I found this solution for the problem now, I am satisfied with:
Use 3.30 RC3 Version and use the style files from 3.31 RC1
And then add this code from the old 3.30 RC to the new style:
Now anybody can select his home language for the translator and this home language is not anymore translated. So your page's default language cannot be translated, and you can use several languages. But you need to old setup acp things back.Code: Select all
"default_language":"{{ TRANSLATE_DEFAULT_LANG |escape('js') }}",
And if those BBCodes should be created we definitely need also an installer inside the extension.
/ext/hifikabin/gtranslate/styles/all/template/event/overall_footer_after.html
Code: Select all
"detect_browser_language": false,
"wrapper_selector": ".gtranslate_wrapper",
"default_language":"{{ TRANSLATE_DEFAULT_LANG |escape('js') }}",
"languages":["de","en","fr","it"],
Code: Select all
"detect_browser_language":false,
"wrapper_selector": ".gtranslate_wrapper",
"default_language":"de",
"native_language_names":true,
"languages":["de","en","fr","it","es"],
I updated my post with the path tostone23 wrote: Sat Jul 15, 2023 5:15 pm You are all very nice but I would like you to specify in WHICH FILES you integrate all the codes that you mention because this subject becomes completely INCOMPREHENSIBLE and only confuses everyone !!!!
So I would like you to put your messages in order because for the moment, I don't understand anything about this!!!
overall_footer_after.html
hifikabin/gtranslate/styles/all/template/event/overall_footer_after.html
Code: Select all
"detect_browser_language": true,
Code: Select all
"default_language":"en",
Hello and thanks for that work around, as you say it does not translate individual posts made in another language which is a shameHiFiKabin wrote: Sun Jul 16, 2023 3:22 pm You have to choose what problems are the lesser for your board.