Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have started creating multilingual site . So basically have copied the home node (along with children) and added culture/host name to it. For all static display texts which is reusable across pages I initially created separate content item as labels with text field but now I am thinking to use dictionary type . I have few questions with the above approach
1)How do we handle the scenario if new pages get added under Home down the line. Does the content editor need to create it separately for each sub domain. Wondering when we have many languages. Ideally should it not be possible to get the main domain page if the sub domain page does not exist
2) How can we make dictionary item to have fallback and give us english value if the translated value does not exist.
Any help is greatly appreciated.
There are some link which can help you out
Try to have a look at the package called Vorto https://our.umbraco.org/projects/backoffice-extensions/vorto/
With Vorto you will get 1:1 translation, where you can choose the different languages on each field in the backoffice.
From version 1,4 and further Matt has added fallback culture support
- Added fallback culture support to HasVortoValue and GetVortoValue
Hope this helps,
Thanks Dennis. Will check that.
Thanks Manish. I did go through them but it does not seem to answer how I can achieve what I mentioned in the above queries. I have configured host name and dictionary and it works but wondering how to handle fallbacks
Hi Umbraco Team,
Even we are also working on a POC which basically enabling the Multi lingual application in Umbraco.
We are keen to know the solution for the points asked by Raghav.
Please throw some light on the same.
Regarding your Point 1 I think Vorto is the best solution. If you cant use Vorto because you are way ahead in the build process the only way is to make sure that you use Umbraco Relations and always copy the page from the master and check the Relate to original box.
If you are to be automatically redirected to the main language page if a page in a particular lanuguuage is not found you can write something using the RelationService to handle it all gracefully.
With your point 2, you can use the LocalisationService to get dictionary item by language?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted