Moodle login page language change - moodle

In my moodle site english and chinese are enabled. The rest of site changes to chinese when language is changed, but the login page does not change. Can anyone guide me ? Please help.

You should be able to set the default here
yourwebsite.com/admin/settings.php?section=langsettings
Or put this in config.php
$CFG->lang='yourlangcode';

In Site Administration => Language => Language Settings:
Turn off Auto detection
Set language to Chinese
Important: The server where your Moodle is hosted may be in english. If you cant change it to chinese, you may have to set the Locale field to one of these:
ISO-2022-CN (Simplified Chinese)
ISO-2022-TW (Traditional Chinese)
BIG5 (Traditional Chinese in BIG5)
GB2312 (Simplified Chinese in EUC)
And also the config.php setting as Russel said:
$CFG->lang='yourlangcode';
Please let us know if it worked!
HTH!

Related

How to set up multiple languages in Typo3 correctly?

this may be a noob question - but I hope to get an answer from an experienced person,
because we have to switch our settings and would like to do it correctly the first time.
At the moment the default language is set to German. English is defined as another language.
When somebody from France looks at the website, it is shown in German first, he then has to switch to english manually. For an english visitor everything is fine.
So what should we do:
1) Set the default language to english and have german as second language? What about guys from Switzerland, Luxemburg, Liechtenstein and Austria then. Do these have to be defined seperately as they are also seperately selectable as windows languages?
2) Is there an option to simply say: Every visitor that is not german speaking should get the english website in default? And even in this case, will this then recognize the different german options explained in 1?
Sorry if these questions are stupid. ;-)
Thank you,
Fabian
Your aim is to change how visitors see the website, but your are asking how to change the editing of the website accordingly. Luckily it is a CMS and you can separate those concerns.
What you seem to look after is a component that analyses the IP/language/browser properties of the visitor at first page load and that there are rules what to show (e.g. show English version except your mentioned countries). There are extensions for that specific purpose like https://extensions.typo3.org/extension/locate or others: https://extensions.typo3.org/?L=0&id=1&tx_solr%5Bq%5D=language
That way you don't need to change the default at all.

Language problems associted with a new theme in sugarcrm

I have installed the latested version of sugarcrm and installed it suite crm theme. Every thing worked fine(in terms of design). Then, I installed russian langauge pack. Language was applied correctly except global controll links. I cleared caches(both browser and sugarcrm). If i enter crm(for example using English language) and logged out and enter using russian language, the global controll links are in English language(while all other elements in russian language). If I clear crm and browser from caches and enter the system(In reverse language order), Global controll links in Russian language while all other elements in english language. I suppose the error associted with caches and sesson. But, I do not know how to solve the issue. Please, help me. Where i need to change in order system work with a new them?
I found answer to the issue. I think that the problem was associted with ajaxheader. Therefore, I disabled them from admin->system settings->settings of ajax

MAMP: How to change UI language?

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.

WHM Language Changed to German

Hoping someone can help with this..
For some reason the default language in WHM is now German, instead of English.
I checked:
Home »Server Configuration »Tweak Settings
and the default language in English, however all of the icons are German and the sidebar text is German.
Any idea how this could happen?
Can you provide more information.
Have you installed any third-party applications such as RVSkin?
Note that a language can also be selected before logging into Web Host Manager, with a selection of languages below the login box.
You can also try deleting the german langauge from locale
/var/cpanel/locale/

iOS secondary language localization

I properly set localization for es (Spanish), en (English) and ca (Catalan). Spanish and English are primary while the secondaries are like es-xx and en-xx. Catalan is a secondary that has es-ca code.
Problem is that if I launch the app for example with en-us, en.lproj resources are called because en-us does not exist. Good until this point but, if I remove catalan localization, should do the same and load primary one, es. However, does not load it and loads default one instead (en). I am missing anything? thank you
I'm not sure you're modeling the problem the right way.
The problem with removing Catalan (not sure why you'd remove a localization) is it will fall back to Spanish correct? I assume people in Barcelona and who speak Catalan also speak Spanish but it doesn't feel right to change the language on those users.
In my app I offer English (both UK, US), French, Japanese and Spanish. At startup I get the user's preferred locale and use an NSDictionary to map them to the most appropriate match and if no match is found I fallback to US English. For instance if you live in South Africa the closest English is UK English but if you live in the Philippines US English is more appropriate.
Catalan users will fallback to English unfortunately but in the next version I'll be letting users specify their preferred language from the supported language list as well so they can fallback to Spanish in the future.
Try using NSDictionary to map the user's locale to your app's available languages and see if it solves your issue. Hope this helps!