Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Brazil strings not showing in file directory in Android?

Tags:

android

locale

So I have multiple locale res directories. I'm trying to add one for brazil, but the strings file icon always defaults to the french flag. I was able to do other locales just fine, but cant get Brazil to work. I've attached a picture.file directory

like image 309
AndroidDev21921 Avatar asked Oct 28 '25 16:10

AndroidDev21921


1 Answers

Your values-br means values for the Breton language (I believe its an old language that's rarely spoken). You can find a list of all of the correct country abbreviations here.

The official language of Brazil is Portuguese, so you want to be making a directory for Portuguese: values-pt.

If you want to be referring to Brazilian Portuguese specifically, you can use values-pt-rBR.

The rBR at the end means the region of your language (in this case Portuguese) is Brazil. You can find a list of the region abbreviations here.

like image 77
Farbod Salamat-Zadeh Avatar answered Oct 30 '25 08:10

Farbod Salamat-Zadeh