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: 3
- Joined: Fri Oct 24, 2025 1:58 pm
- Contact:
Online
-
admin
- Site Admin
- Posts: 10443
- 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.
-
krotki1234
- Posts: 3
- Joined: Fri Oct 24, 2025 1:58 pm
- Contact:
Re: About Question enthuware.ocpjp.v21.2.4018 :
Thanks for clarification, I passed the "real" exam on Wednesday (with 72%) and had identical question, so I'm glad that You've explained the topic and I got it right there. Good luck to everyone who will take the exam next. I'm keeping my fingers crossed 
Online
-
admin
- Site Admin
- Posts: 10443
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v21.2.4018 :
That's great, congratulations!! Happy to be of some help.
If you can, please give a review for book on Amazon: https://amzn.to/4dEACui
If you can, please give a review for book on Amazon: https://amzn.to/4dEACui
Who is online
Users browsing this forum: No registered users and 7 guests