Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam B2C Commerce Developer Topic 7 Question 61 Discussion

Actual exam question for Salesforce's B2C Commerce Developer exam
Question #: 61
Topic #: 7
[All B2C Commerce Developer Questions]

A developer has the following files in template/resources:

account.proierties

weight.unit=kilos

account_en.propierties

weight.unit=stones

account_en_US.propierties

weight.unit= pounds

Using the default locale configuration, what is the current outcome of the page that renders the

account.isml template snippet below when visiting the Sofrefront with the English for Canada(en_CA) locale=

Your parcel weighs 10 ${Resource.msg('weight.unit','account')}

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Elmer
4 days ago
Who needs properties files when you can just hard-code the weight units? 10 stone, 10 pounds, 10 kilos - it's all the same to me!
upvoted 0 times
...
Thad
7 days ago
Hold on, we have multiple properties files, but no en_CA file? That's like trying to find a needle in a haystack. I'll just guess and hope for the best.
upvoted 0 times
...
Nickie
20 days ago
I'm not sure, but I think D) Your parcel weighs 10 kilos could also be a possibility if the default locale configuration is different.
upvoted 0 times
...
Felix
24 days ago
I'm stumped. C seems like the right answer, since the resource key 'weight.unit' is not defined in the account_en_CA.properties file.
upvoted 0 times
Francisca
4 days ago
User2: I agree, C seems to be the most logical choice in this scenario.
upvoted 0 times
...
Rhea
7 days ago
User1: I think the answer is C, since 'weight.unit' is not defined in the account_en_CA.properties file.
upvoted 0 times
...
...
Lili
26 days ago
I'm going with B. The account_en_US.properties file sets the weight.unit to pounds, and since we're using the default locale, that should take precedence.
upvoted 0 times
...
Edgar
27 days ago
Hmm, I think the answer is D. The default locale is en_CA, and the weight.unit property is set to kilos in the account.properties file, so it should display the weight in kilos.
upvoted 0 times
...
Ludivina
27 days ago
I agree with Raina, the locale is set to en_CA so it should use the account_en.propierties file which has weight.unit=pounds.
upvoted 0 times
...
Raina
1 months ago
I think the answer is B) Your parcel weighs 10 pounds.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77