Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.
Forgot Password?
Navigation

Multilanguage is not working on my site.

Last updated on
D
DadoNewbie
Posted
Hello. I need help. I'm having a problem with the multilanguages on my website. I don't know why.I don't know since when. But exept the English language, no other language works correctly for me . It's hard to explain, so I'm sending screenshots of my problem.


iili.io/HBrEhjR.png

The page has a problem displaying the flag icon.


iili.io/HBrENCN.png

...and in the administration, complete translations of the texts are missing

Could someone give me advice?
Edited by Dado on 04-12-2022 09:12,
F
FalkSuper Admin
Posted
See https://translate.phpfusion.com/ , you are missing some translation in the lang pack.
D
DadoNewbie
Posted
Thanks for your reply and help, but the multilingual still doesn't work. I tried to download other languages, but they don't work either. Any other ideas?

iili.io/HCUzK5x.png
A
ApisJunior Member
Posted
In the Admin Panel->Settings->Language settings, you must enable the languages ​​that are to be available. Not enabled, they don't work.
D
DadoNewbie
Posted
I have all these languages activated.
A
ApisJunior Member
Posted
I used another solution which is quite effective. I created a new panel with the following content:
<div id="google_translate_element" align="center"></div>
<script>
   function googleTranslateElementInit() {   
   new google.translate.TranslateElement({pageLanguage: 'pl', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, includedLanguages: 'en,de,cs,sk,pl'}, 'google_translate_element');
   }
</script>
<script src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

I made the panel visible on all pages. You can also include the code in your theme.

Of course, you need to enter the default language (pageLanguage) of the page and the languages ​​that are to be offered (includedLanguages: 'en,de,cs,sk,pl') in the code.
Edited by Apis on 11-12-2022 09:55,
C
ChanSuper Admin
Posted
Where did you get the language packs?

Have a look at this page: https://github.com/PHPFusion/locales

There are 2 versions of the version 9.
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
You cannot set up a bounty in this discussion thread.
Moderator: Support Team
Users who participated in discussion: Falk, Chan, Apis, Dado