I want a user to land in the spanish version of the moodle site without having to select english from the dropdown menu.
setting default menu doesnt work.
Could I do this in the htaccess
Have you tried setting this in portal-ext.properties? This can be done for a site-wide default. The file should be located in the root of your liferay installation folder.
Try adding the following lines to the file and then restarting your liferay services:
# Set default language
user.country=US
user.language=es
If you want to get more granular and set specific languages for different URLs used to access the portal, you can read up on how to do that here.
You can set the default language for the site by going to
site admin -> language -> language settings -> Default language then selecting Spanish from the drop down menu.
Or by adding this in config.php
$CFG->lang = 'es';
You can also pass the language as a parameter - this will only affect the current session though. eg:
[moodleurl]/?lang=es
Related
In Typo3, is there any way I can disable the language labels next to the content elements?
Or even better: Is there a way to disable all language features for a single-language site? Though the other language options are not that important as I can disable them via Page TSConfig.
It's not possible to disable all language features since even if you only have one language. You need some language specific settings, e.g. locale for date formatting or typo3Language to get the proper translation of labels in the frontend.
Nevertheless, you can change the label next to the flag:
Go to the Sites module on the left side
Select your site configuration
Go to the "Languages" tab
Select your language
Change the title, e.g. to Deutsch
Is there any way I can combine separate page with default culture, means when I change to the other language than the US I will see the same not translated page.
I can do that for the whole site using the 'Combine with default culture' setting from the Multilingual content settings, but that is not what I need, as far as some pages should not be displayed for other languages than the US.
I am using the Kentico 11 version.
There are multiple ways to achieve that is you don't want to use the "Combine with default culture" setting:
While switching to other language choose copy content from default language, but you have then duplicated content so you need to edit it twice when needed
Specify the english version to have culture unique url/path (for example by configuring it in Properties -> Urls -> Path or pattern property) and then setup redirection on that other language page to redirect there (Properties -> Navigation -> URL redirection)
I upgraded Magento from version 2.1.0 to 2.1.8.
After the upgrade some of the text are coming in French even though the language is set to English, both frontend and backend.
Try these steps, making sure to flush cache and/or reindex when necessary:
Go to Stores>Configuration>General>Locale options, confirm English is selected, save config.
If the above step didn't fix it, go to System>All Users, click on the user that you are using to test the store frontend, and confirm that Interface Locale is also set to English.
If that also didn't work after you made sure that the indexes and caches are fine, double-check the language package to make sure that it still contains the dictionary (not just a stub). The dictionary CSV file(s), e.g. /[module_name]/i18n/en_US.csv have to be included where relevant in your Magento website's active module(s)/theme.
Lastly, if you confirm that the dictionary CSVs are in fact populated within the relevant modules/theme, note that the admin configuration [*] Use Website" does not refer to a visitor's web browser. It refers to the Website configured in the Website - Store - Store View hierarchy. To override that setting in a store view, confirm the box for [ ] Use Website is unchecked.
More info: http://imaginaerum.github.io/magento2-language-fr-fr/en.html
I am a German user, but I prefer English UI. I've found no setting for the language in MAMP. I can change the URL manually to ?language=English, but that is lame. How to change the language?
I renamed the resource directory de to de-off. MAMP control panel started in English, but the web page + tools were still in German. I patched MAMP\bin\mamp\php\functions.php to fix the $language:
$language = 'English';
Crude but works. Setting would be better.
In my case it was because my preference settings have german on the preferred language list. So I just change my language preference on my mac:
System Preferences from the Apple menu.
Click Language & Region.
Remove German from the list
Add english and Drag it to the second or first position of the Preferred languages list.
I've had the same problem. I set the language to English during installation and the UI is appropriately in English, but when I click on "Open WebStart page", the URL in the browser is http://localhost/MAMP/index.php?language=German.
I tried your method renaming the directory de to de-off and going to MAMP\bin\mamp\php\functions.php, but $language = 'English'; was already set, and I still had that problem.
So I used an even cruder method and copied the contents of MAMP\bin\mamp\translate\English.json into German.json. When that worked, I renamed the json file, just to see if it still worked, and it did ... :-)
But it's an awful method, and having that page synchronised by default with the language set during installation should be the professional way. I'll submit this as a request to MAMP.
Many visitors visiting our website by a link to content in a different language from their mother tongue. If they click on the language switcher, they will be redirected to the home link of the current menu. That means they have to navigate to the content again.
Is there a Plugin available that solve this problem?
The use should change the language and see the english version of the specific content.
That should not be the case, if you have set up bi/multi language in the right way.
Have you associated the articles to each others as well as the menu entrys?
You need to have exact copies of your menu.
Are you talking about "Content Pages" that have no menu entry? If so, try to create a menu which is not visible for the user, but use it to associate content.
You find the Association Tab in the Menu Entry Edit
The Falang component allows you to manage all your content translations, even the content of all your components/modules, on your web site.
Falang doesn't use the default language system of Joomla 2.5 and 3.3. You don't have to specify a language for each content article or menu item (which results in a huge amount of duplication). You don't need to create few menu copies, few articles/categories copies for different languages.
Here is described how to use it