borartr
borartr

Reputation: 63

Changing the default language in android studio

Writing words in strings.xml triggers autocorrect, which is set to en-us per default. I use a different language for default, and en-us only as translation. How can I change these default languages in android-studio?

(Searching for this only shows Google App Developer: Change Default Language of App which is limited to Google Play where everything is straight forward.)

Edit: Android-Studio seems to have multiple different hidden language settings, one being the dictionary, but there is also some Default Locale I wasn't able to change. See there picture (en-us to be changed).

enter image description here

It seems to be disconnected from dictionary, but when I open the Translation Editor it gets renamed to only 'Default' with no options to change.

Upvotes: 4

Views: 7600

Answers (1)

Gabriele Mariotti
Gabriele Mariotti

Reputation: 364978

In the Preferences menu -> Editor -> Spelling:

You can add a custom dictionary.
Your language.dic file should contains a UTF-8 charset.

enter image description here

Upvotes: 1

Related Questions