In our project we enabled custom targeting:
Now let’s suppose we have multiple page for example:
We can use custom targeting for this page, so our English users will see the en page, German users the de page.
On this page we use one of our symbol, and on that symbol we have a data entry which is localized with the help of custom field localization:
We bind this entry to our symbol:
And now comes the tricky part, is it possible that we somehow can use the custom targeting ?
Because when I want to bind my data for example for my text:
I have to choose one of the language
Is it possible that we automatically do that, (without duplicate our symbol and without passing an extra input parameter to my symbol on the fly, eg the locale))? So we have our custom targeting pages, and the urls already consists the locale in there. How can I “custom target” my symbol, that on my:
- hu page the symbol will bind the state.data.title.hu
- en page the symbol will bind the state.data.title.en
- de page the symbol will bind the state.data.title.de
Hope you understand my worries, and please let me know if you have an idea for it or need some explanation.
Thank you very much!
Test symbol and entry: Builder.io: Drag and drop page builder and CMS