Which locale (i.e., from an internationalization properties file) to use for a user is based on?

Which locale (i.e., from an internationalization properties file) to use for a user is based on?
A. /grails-app/conf/spring/resource.groovy file
B. user’s browser language preferences
C. all of the mentioned
D. none of the mentioned
 
Answer: c
Explanation: Grails determines which locale (i.e., from an internationalization properties file) to use for a user based
on two criteria:
• The explicit configuration inside an application /grails-app/conf/spring/
resource.groovy file
• A user’s browser language preferences
 

Tìm kiếm

Back
Top