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:

Nickie
12 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
16 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
...
Lili
18 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
19 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
19 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
22 days ago
I think the answer is B) Your parcel weighs 10 pounds.
upvoted 0 times
...

Save Cancel