Hi,
I believe the answer to this question is wrong.
Based on thread here: https://enthuware.com/forum/viewtopic.p ... 018#p28799
ResourceBundle should be searched by this path: msgs_fr(requested by user) -> msgs_en_GB -> msgs_en -> msgs.
Answer to this question states that it should fallback from "fr" straight into default "msgs.properties".
Is it right or I'm missing something?
About Question enthuware.ocpjp.v21.2.4018 :
Moderator: admin
-
krotki1234
- Posts: 2
- Joined: Fri Oct 24, 2025 1:58 pm
- Contact:
-
admin
- Site Admin
- Posts: 10439
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v21.2.4018 :
The given answer and explanation are correct. Please go through the book pages given in the other thread carefully. There are two different scenarios.
In the other question, no file for the requested locale was available so it it picked the file for default locale. In this question, a file for requested locale was found, so file for default locale is not used.
In the other question, no file for the requested locale was available so it it picked the file for default locale. In this question, a file for requested locale was found, so file for default locale is not used.
Who is online
Users browsing this forum: No registered users and 108 guests