FileWave Alliance

The Official Community Forum
  • Page:
  • 1

TOPIC: How to change language and keyboard settings?

How to change language and keyboard settings? 21 Mar 2016 15:11 #2216

  • Stiftung Albisbrunn
  • Stiftung Albisbrunn's Avatar Topic Author
  • Offline
  • 1st level - White Belt
  • 1st level - White Belt
  • Posts: 3
  • Thank you received: 0
Hi there

I want to know how i can change the language and keyboard settings of a new imaged mac by script or profile? If i image my macs with a "Clean device Image" the standard language and keyboard settings are en_us.

I want to change them at first boot to de_ch. How can i do that by script or profile or fileset?

Any ideas?
Last Edit: by Stiftung Albisbrunn.

How to change language and keyboard settings? 22 Mar 2016 16:10 #2218

  • Hans-Joachim Adermann
  • Hans-Joachim Adermann's Avatar
  • Offline
  • 2nd Level - Yellow Belt
  • 2nd Level - Yellow Belt
  • Posts: 11
  • Karma: 1
  • Thank you received: 0
i did it with a script deployed to /private/temp/
in this sample main language set to german, could be changed by changing echo " " to the correct number

#!/bin/bash
#main systemlanguage set to german
echo 3 | languagesetup > /var/log/DE-SetLanguage.log
sleep 5
rm -rf /private/tmp/setSystemLanguage_DE.sh

languagesetup gives the following choices:

bash-3.2$ sudo languagesetup
Password:
1) Use English for the main language
2) Utiliser le français comme langue principale
3) Deutsch als Standardsprache verwenden
4) 以简体中文作为主要语言
5) 以繁體中文作為主要語言
6) 主に日本語を使用する
7) Usar español como idioma principal
8) Usa l’italiano come lingua principale
9) Gebruik Nederlands als hoofdtaal
10) 주 언어로 한국어 사용
11) Usar português do Brasil como idioma principal
12) Usar o português europeu como idioma principal
13) Brug dansk som hovedsprog
14) Käytä pääkielenä suomea
15) Bruk norsk som hovedspråk
16) Använd svenska som huvudspråk
17) Сделать русский язык основным языком системы
18) Użyj polskiego jako języka głównego
19) Ana dil olarak Türkçe’yi kullan
20) استخدام اللغة العربية كلغة رئيسية
21) เลือกภาษาไทยเป็นภาษาหลัก
22) Vybrat češtinu jako hlavní jazyk
23) Magyar kiválasztása alapértelmezett nyelvként
24) Seleccioneu el català com a idioma principal
25) Odaberite hrvatski kao glavni jezik
26) Επιλέξτε Ελληνικά ως την κύρια γλώσσα
27) בחר/י עברית כשפה ראשית
28) Selectați româna ca limbă principală
29) Vybrať slovenčinu ako hlavný jazyk
30) Вибрати українську основною мовою
31) Gunakan Bahasa Indonesia sebagai bahasa utama
32) Gunakan Bahasa Melayu untuk bahasa utama
33) Sử dụng Tiếng Việt làm ngôn ngữ chính
34) Utilizar español de México como el idioma principal
q) Quit
?

hope that helps.


How to change language and keyboard settings? 23 Mar 2016 07:28 #2219

  • Stiftung Albisbrunn
  • Stiftung Albisbrunn's Avatar Topic Author
  • Offline
  • 1st level - White Belt
  • 1st level - White Belt
  • Posts: 3
  • Thank you received: 0
Thank you... and how do you choose your keyboard layout?

How to change language and keyboard settings? 24 Mar 2016 07:29 #2226

  • Stiftung Albisbrunn
  • Stiftung Albisbrunn's Avatar Topic Author
  • Offline
  • 1st level - White Belt
  • 1st level - White Belt
  • Posts: 3
  • Thank you received: 0
I'm sorry but this script is not working. The only thing it changes is the language on the logon screen. As soon as i'm logged in, the language is still english and the keyboard settings are still en_US...

Any other ideas?

How to change language and keyboard settings? 29 Mar 2016 14:04 #2238

  • Hans-Joachim Adermann
  • Hans-Joachim Adermann's Avatar
  • Offline
  • 2nd Level - Yellow Belt
  • 2nd Level - Yellow Belt
  • Posts: 11
  • Karma: 1
  • Thank you received: 0
sorry that it is not working for you. I use it to force the multilanguage Adobe installers to install the right languagekit. This works for me in that case.
And sorry, no simple idea for keyboardsettings


  • Page:
  • 1