Support » Plugin: Translate Multilingual sites - TranslatePress » Custom shortcode as select/option

  • chadrex

    (@chadrex)


    Hi, I would like to create a language switcher as a drop-down list based on the html tag select, for example:

    <select>
    <option disabled>English</option>
    <option>Russian</option>
    </select>

    If possible, I would like such a function, I just do not know php and its logic very well.

Viewing 1 replies (of 1 total)
  • Thread Starter chadrex

    (@chadrex)

    And another question, how to turn off automatic translation? For example, I have buttons that add goods to my cart, they are constantly translated into the language that is at the end of the list.

    Here is an example:

    There are two languages, English and Russian. I only translate one language – Russian, English is considered the main language. But, very often I find buttons in English that have been automatically translated into Russian. The translation was taken from po/mo files, from Russian files, into English…

    how can this be corrected?

Viewing 1 replies (of 1 total)
  • The topic ‘Custom shortcode as select/option’ is closed to new replies.