Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 559
borartr Avatar asked Aug 07 '26 12:08

borartr


1 Answers

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

like image 71
Gabriele Mariotti Avatar answered Aug 10 '26 07:08

Gabriele Mariotti



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!