{"id":3364,"date":"2024-03-19T12:59:19","date_gmt":"2024-03-19T19:59:19","guid":{"rendered":"https:\/\/in.nau.edu\/arc\/?page_id=3364"},"modified":"2025-01-03T15:13:04","modified_gmt":"2025-01-03T22:13:04","slug":"switching-languages-on-monsoon-mandarin","status":"publish","type":"page","link":"https:\/\/in.nau.edu\/arc\/switching-languages-on-monsoon-mandarin\/","title":{"rendered":"Switching Languages on Monsoon (Mandarin)"},"content":{"rendered":"\n
\n
\n
<\/div>\n<\/div>\n\n
Below you will find instructions for what is needed for each student to perform to enable Mandarin support in SSH sessions and OnDemand.<\/p>\n
Note: This localization support depends on what has been provided through each individual piece of software. The changes performed from the instructions below will add partial<\/b> support for Mandarin.<\/em><\/p>\n To enable Mandarin in a terminal on Monsoon, all you need to do is copy the file \/common\/conf\/mandarin_ssh<\/span> to your home directory under the name .i18n<\/span>. To do this, open a terminal connected to Monsoon and run the following command:<\/p>\n Note: Once you have run this command, restart your terminal to see the changes.<\/em><\/p>\n Once you have started a new terminal session on Monsoon, you can use the locale<\/span> command to see your current language.<\/p>\n If you see zh_CN<\/span>, then Mandarin support is enabled.<\/p>\n To disable Mandarin in a terminal on Monsoon, you can remove the .i18n<\/span> file by opening a terminal connected to Monsoon and running the following command:<\/p>\n Note: Once you have run this command, restart your terminal to see the changes.<\/em><\/p>\n Mandarin on OnDemand is triggered when the file ~\/.config\/ondemand\/chinese<\/span> exists. The contents of the file do not matter, but as long as the exact file and exact parent directories exist, OnDemand will change the display language to Chinese.<\/p>\n To create the necessary file that enables Chinese for OnDemand, follow these steps:<\/p>\n Note: Once you have run these commands, you must logout and re-login to OnDemand to see the changes.<\/em><\/p>\n To remove the file that enables Chinese for OnDemand, open a terminal connected to Monsoon and run the following command:<\/p>\n Note: Once you have run this command, you must logout and re-login to OnDemand to see the changes.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":" Switching Languages on Monsoon (Mandarin) Below you will find instructions for what is needed for each student to perform to enable Mandarin support in SSH sessions and OnDemand. Note: This localization support depends on what has been provided through each individual piece of software. The changes performed from the instructions below will add partial support […]<\/p>\n","protected":false},"author":2758,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ring_central_script_selection":"","footnotes":""},"class_list":["post-3364","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/pages\/3364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/users\/2758"}],"replies":[{"embeddable":true,"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/comments?post=3364"}],"version-history":[{"count":12,"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/pages\/3364\/revisions"}],"predecessor-version":[{"id":3744,"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/pages\/3364\/revisions\/3744"}],"wp:attachment":[{"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/media?parent=3364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}Changing Terminal Language<\/h2>\n
Enabling Mandarin for the Terminal<\/h3>\n
cp \/common\/conf\/mandarin_ssh ~\/.i18n<\/code><\/p>\nVerify that Mandarin is Enabled<\/h3>\n
[abc123@wind]:~$ locale
\nLANG=zh_CN.utf8
\nLC_CTYPE=\"zh_CN.utf8\"
\nLC_NUMERIC=\"zh_CN.utf8\"
\nLC_TIME=\"zh_CN.utf8\"
\nLC_COLLATE=\"zh_CN.utf8\"
\nLC_MONETARY=\"zh_CN.utf8\"
\nLC_MESSAGES=zh_CN.utf8
\nLC_PAPER=\"zh_CN.utf8\"
\nLC_NAME=\"zh_CN.utf8\"
\nLC_ADDRESS=\"zh_CN.utf8\"
\nLC_TELEPHONE=\"zh_CN.utf8\"
\nLC_MEASUREMENT=\"zh_CN.utf8\"
\nLC_IDENTIFICATION=\"zh_CN.utf8\"
\nLC_ALL=<\/code><\/p>\nDisabling Mandarin for the Terminal<\/h3>\n
rm ~\/.18n<\/code><\/p>\nChanging OnDemand Language<\/h2>\n
Enabling Chinese for OnDemand<\/h3>\n
\n
mkdir -p ~\/.config\/ondemand\r\ntouch ~\/.config\/ondemand\/chinese<\/code><\/pre>\nDisabling Chinese for OnDemand<\/h3>\n
rm ~\/.config\/ondemand\/chinese<\/code><\/p>\n