PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Translating the "Select an option"

  1. DIamandis
    Member

    Hi there... I am using enhanced dropdown and need to translate the words:

    1. No results found
    2. Please select an option

    With no. 2 I know that I can add an option without a value but this is not suitable for me as this makes that option clickable within the dropdown. I would prefer to translate the appropriate default text.

    Thank you

    Posted 11 years ago on Tuesday September 18, 2012 | Permalink
  2. Do you have a link to your form online please? I am not familiar with where that text pops up, but if I can see it I can help find out if it can be translated easily.

    Posted 11 years ago on Tuesday September 18, 2012 | Permalink
  3. DIamandis
    Member

    http://tiny.cc/e4uukw

    i did change the chosen.js file so its in greek now the text (on the dropdown) but this is not good as if I upgrade i risk loosing my changes. Thanks

    Posted 11 years ago on Tuesday September 18, 2012 | Permalink
  4. You're correct, that is not an upgrade-proof solution. You can change those strings in the chosen script by adding some JavaScript to your page. Please see here:

    https://github.com/harvesthq/chosen/issues/12#issuecomment-5479941

    Posted 11 years ago on Wednesday September 19, 2012 | Permalink