Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
Select DCRs dynamically based on the locale
Migrateduser
I am trying to implement a single site that will support multi language based on the selection of the appropriate locale DCRs in the component DCR datum. I have create DCRs for each locale as follows under the data folder
data/dcr_en-us
data/dcr_en-ca
In the page I selected the component with the DCR datum and selected the dcr_en-us. I then changed the system locale and previewed the page.
Even though [accept-language] = [en-ca] I was still seeing the dcr_en-us content.
So it seems like the OOTB locale are not working. I can create a Prefix to update the DCR path based on the [accept-language] and then the selected content will be displayed.
Is this the right approach or has somebody gotten the locale to work. Please provide details if you have done it successfully.
Find more posts tagged with
Comments
There are no comments yet