Say, I have pt in the resource bundle, but no pt_BR or pt_PT. Will pt_BR and pt-PT fallback to pt rather than to english?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Entries missing in
pt_BRorpt_PTwill be looked up in the resource bundle withptbase name.pt-PTwon’t fallback to anything (if that’s not a typo).See ResourceBundle.getBundle().