Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Fuji Kusaka 2203 posts 4220 karma points
    Oct 17, 2011 @ 07:19
    Fuji Kusaka
    1

    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?

     

  • Warren Buckley 2106 posts 4836 karma points MVP 7x admin c-trib
    Oct 19, 2011 @ 12:56
    Warren Buckley
    0

    Hello Fuji,
    So just to be clear you want a dropdown option containing 50 values that each value needs to be multilingual?

  • Fuji Kusaka 2203 posts 4220 karma points
    Oct 19, 2011 @ 13:07
    Fuji Kusaka
    0

    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?

     

     

  • Fuji Kusaka 2203 posts 4220 karma points
    Oct 19, 2011 @ 13:09
    Fuji Kusaka
    0

    The other important one how to change the text on the submit button?? 

  • Warren Buckley 2106 posts 4836 karma points MVP 7x admin c-trib
    Oct 19, 2011 @ 13:14
    Warren Buckley
    0

    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

     



     

  • Fuji Kusaka 2203 posts 4220 karma points
    Oct 19, 2011 @ 13:30
    Fuji Kusaka
    0

    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

  • Warren Buckley 2106 posts 4836 karma points MVP 7x admin c-trib
    Oct 19, 2011 @ 13:33
    Warren Buckley
    0

    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.

  • Fuji Kusaka 2203 posts 4220 karma points
    Oct 19, 2011 @ 14:04
    Fuji Kusaka
    0

    Hmmm who would i do this? So the list will have like EN: Australia FR: Australie and so on....

  • Warren Buckley 2106 posts 4836 karma points MVP 7x admin c-trib
    Oct 19, 2011 @ 14:06
    Warren Buckley
    0

    Fuji,
    The documentation that I have linked to gives you developer documentation on how to extend Contour.

    Warren 

  • Fuji Kusaka 2203 posts 4220 karma points
    Oct 19, 2011 @ 14:38
    Fuji Kusaka
    0

    I just double checked the list... 232 countries listed!!!

  • Comment author was deleted

    Oct 20, 2011 @ 09:19

    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

     

  • Fuji Kusaka 2203 posts 4220 karma points
    Oct 20, 2011 @ 11:49
    Fuji Kusaka
    0

    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?

  • Fuji Kusaka 2203 posts 4220 karma points
    Oct 26, 2011 @ 08:29
    Fuji Kusaka
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft