I'm trying to make the language switcher to work, I have already made all menus for each language I was gonna use, but when I enable this module, It just shows me the name of the module(when I put it to show), not the flags. What should i do?
I lost a full day of my life with this topic.
The issue was that language tag was badly setup in System -> Language Manager -> Content
For example for French I had fr when it should have been fr-FR
After that I had to rebuild/redo all the Language assignments for French on Pages, categories, menus, template.
The flag finally showed up...
It's an old question but, telling from the comments, a recurring problem. Seems like there can be multiple root causes. One thing to check is also that you have marked the default menu item for each language. If not, the corresponding language does not show in the language switcher.
Found that You need to set a default homepage that can be in hidden menu (and redirect from later) to Language "All"
But then also go to each menu and make the page 1 language and also Homepage.
So for me I have now 3 language homepages menu items. All, En, De
How did I discover this:
I needed to turn on a module in the Admin:
Language Status Administrator Module
This makes a small button bottom left in the Admin, and modal points out 3 different topic per language installed, told me I had not any homepages, and so would get no flags. (Thanks to Per on Joomla forum answer from 2016)
Happy fixing.
you need to set up the languages in the Language Manager? under extensions..
and make sure you published the "System - Language Filter" plugin.
Plugins -> System - Language Filter -> Automatic Language Change -> No
This will prevent automatic language changin which is often reason for this
Related
I have two different language i.e English and German in my web app and user can change the language in application through a select box. Initially i am getting preferred language from the back-end and i am setting locale of the core as follows.
sap.ui.getCore().getConfiguration().setLanguage("//according to whatever is coming from back-end")
Now lets say initial language is English, if user open a control i.e sap.m.datepicker, calendar is being displayed in English. If user changes the language to German from the application i am again changing the language in the core as shown below:
sap.ui.getCore().getConfiguration().setLanguage("de-DE")
Now if user opens that same datepicker, it is being displayed in English instead of German and if user opens some another control or datepicker it is being rendered in German.
Page is not getting refreshed while changing the language in app.
Please suggest me a solution to dynamically change the locale of the controls.
Maybe my answer here helps a little.
The problem is that in many cases, maybe even in most cases, the standard UI5 controls detect the language only once when they get loaded. Very often, the control developers did not implement a "dynamic change" of the language. If you check the link I mentioned above you will see that there are ways to react on language changes, but very often this is not implemented for whatever reason.
However, I'm afraid to tell you that in your case the standard control might not support dynamic language changes out of the box (but I did not check the code). Also, it seems that the UI5 guys at SAP do not consider this as a bug (see this github issue). Such a pity...
I would suggest you use sap.ui.core.Core.attachLocalizationChanged(fnFunction, oListener) and add this to the onInit function of your controller.
From this, in your fnFunction rebuild the controls where you require the locale changes to be dynamic.
example:
onInit: function(oEvent) {
sap.ui.getCore().attachLocalizationChanged(this._handleLocalizationChanged, this);
},
_handleLocalizationChanged: function() {
// ... Some logic to re-build / set locale for the dynamic controls.
}
This is my interpretation of what should be done based on the information in the api
I have a webpage with 3 languages.
The multi languages status shows all is fine.
When I am logged into the front end as superuser the language switcher works like a charm.
But when I log off and visit the page as public, the language switcher works only in a menue where I have a JSN UniForm for all languages if I unpublish it, the language switcher does not work either.
But I cannot see a difference in the settings.
I can access the correct language by changing the url to the specific language and the correct pages are displayed.
We are using Joomla 3.6.4, and the template JSN Air Pro.
Update:
I realized I did not describe the problem correctly:
When I am on the English page the language switcher is shown, but it does not show the other languages. So ti is not possible to change the language via the language switcher.
All three languages are installed and published.
Do you have any suggestions what setting I need to change?
Go to your module (Language Switcher) set Access -> public, now you can see module in front end as a public.
I created a website in Joomla 3.4, but the Multilanguage feature is just not working for me. I have followed the steps here:
https://www.ostraining.com/blog/joomla/multi-lingual-joomla/
https://www.youtube.com/watch?v=XNI_B3RezgQ
I do not see the flags for my FaLang module and now I have an error about my menu. (my site is salimlawfirm.com/en).
The Spanish site should be at salimlawfirm.com/es but this does not load the website. Instead shows me the root directory.
Any advice will be greatly appreciated!
You might want to give our component a try Neno Translate it has a bunch of features in addition to Falang.
To make it work you have to be very meticulous. The ostraining link tells you how to work with third parties module/compontents. But you can achieve a multi-language website in Joomla with no extra help.
Install the language packages you need
Activate the related language plugins if need be
Create a "main menu" (for example choose the type blog)per language where you set at list one item which is the home page of your website. Select the language of that item in the language dropdown
now you can create content, but set every time the language of the post.
Joomla has a build in language switcher module that you can use. set it. Now if you select a language, only the post of that language will show up in your home page. you will need to set a main menu module per language published in the same position as well.
So my problem regarding MAGENTO languages and view stores.
I have a website with one language Spanish. I got an extention installed for Vendors which can come and add products and so. My issue is, that I want my vendors portal to be in English and the vendor portal is take the language from the default store in my system which is Spanish.
I added another store ENGLISH one, but when I change my default store to the english on I get my main website in English.
Im strugeling with it, I dont know how do fix that issue. I was thinking maybe I can somehow change the language in the vendors portal specificly from code? Or maybe you got other solution.
my extention is Udropship for refrences.
You can try to set English as default language and Spanish as language for your default website/storeview. Go to System/Configuration. Look into the top left corner, thre is select where you can switch config scope. If you set this so then admin panel will be displayed in English whilst frontend will be still displayed in Spanish.
I have a multilingual website (spanish and english) using Joomla 2.5.7. I want to force the default languague to spanish regardless of the default browser languague on the visitor's computer.
I already checked Extensions -> Language Manager and marke Spanish the default. But it keeps showing in english even after I clear the browser cache.
I also checked Extensions -> Language Manager Content tab and put spanish first without luck.
What I'm missing?
Thanks!
Ok, the solution was:
Extensions -> Plug In Manager then search for System - Language Filter and under Basic Options change Language Selection for new Visitors accordingly
Hope this helps someone else