I already have a drop down list of 50 values and the same form will be used on the French Version of the website how do i get to change the values of the list to French? Do I need to manually create them in dictionary?
For the dropdown it may be best to create dictionary items for this, however I have not tried this and would recommend you try this with only a few examples to ensure it works.
Well for the drop down it works well if i just add the "#" before the value and add those in the dictionary. But then i will need to do the same for all the other values and what is really worrying me is the drop down menu Countries with a list of A-Z.
OK if you want to maintain a long list. Perhaps you could create a custom Field type for Contour, that perhaps worked with a custom XML file that you manage the different options is one idea.
Drop Down List for Multilingual Website
Hi,
Can someone point out how do i get to manage a drop down list with 50 items in contour for a Multilingual Website?
Do i need to enter the 50items one by one in my dictionary?
Hello Fuji,
So just to be clear you want a dropdown option containing 50 values that each value needs to be multilingual?
Hello Warren,
I already have a drop down list of 50 values and the same form will be used on the French Version of the website how do i get to change the values of the list to French? Do I need to manually create them in dictionary?
The other important one how to change the text on the submit button??
Hello Fuji,
In regards to the submit button it can also use a dictionary value.
The documentation on Contour covers this in regards to changing the labels using dictionary items.
http://umbraco.com/help-and-support/customer-area/contour-support-and-download.aspx
http://umbraco.com/help-and-support/customer-area/contour-support-and-download/developer-documentation.aspx
For the dropdown it may be best to create dictionary items for this, however I have not tried this and would recommend you try this with only a few examples to ensure it works.
Warren
Well for the drop down it works well if i just add the "#" before the value and add those in the dictionary. But then i will need to do the same for all the other values and what is really worrying me is the drop down menu Countries with a list of A-Z.
Fuji
OK if you want to maintain a long list.
Perhaps you could create a custom Field type for Contour, that perhaps worked with a custom XML file that you manage the different options is one idea.
Hmmm who would i do this? So the list will have like EN: Australia FR: Australie and so on....
Fuji,
The documentation that I have linked to gives you developer documentation on how to extend Contour.
Warren
I just double checked the list... 232 countries listed!!!
Comment author was deleted
You could also create a custom prevalue source type that uses .net to fetch the list of languages:
http://stackoverflow.com/questions/898694/list-of-all-countries-in-any-language
It should hook into the culture automatcily and that way you don't have to manually maintain a list of all countries
Hi Tim,
Thanks for getting back to me on this. I did download the zip file in the link you sent but how to i get to pick the lang in contour.
Do I need to create a custom prevalue source in contour itself?
I did try this but doesnt work, so i try the manual entries thats is translating them one by one after using the prevalue sources Sql DB.
But this is not very practical, i have to translate "American Samoa" to French which is "Samoa Américaines" and when i look in my drop down list on the French version this is display in between "Algeria" and "Andorra". I then realised that there is no Alphabetical order.
Is there a way to get the name of the countries to change depending on domain names in contour but not using Dictionary item??
//fuji
is working on a reply...