WordPress.org

Support

Support » Plugins and Hacks » eShop » [Resolved] [Plugin: eShop] Translation in option sets

[Resolved] [Plugin: eShop] Translation in option sets

  • Hi,

    I am making my website multilingual and the standard way of adding languages doesn’t work for option sets.

    For example if I make an option set, colour, with choices red, green, blue
    I’d like to set it up in many languages, e.g.

    [:de]Farbe[:en]Colour[:fr]Couleur[:it]Colore

    [:de]Rot[:en]Red[:fr]Rouge[:it]Rosso
    [:de]GrĂ¼n[:en]Green[:fr]Vert[:it]Verde
    [:de]Blau[:en]Blue[:fr]Bleu[:it]Blu

    But that doesn’t do anything… Is it implemented in a way that I’m not aware of, or can you add the functionality, I guess it’s just a small matter of adding some more filters.

    http://wordpress.org/extend/plugins/eshop/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author elfin

    @elfin

    At this time it’s unlikely to be added into the plugin – so all i can suggest at the moment is having a separate product page for each language.

    esmi

    @esmi

    Forum Moderator

    As there has not been an update to this topic for a while, I can only assume that the issue has now been resolved and I am now marking it as such. If this is incorrect, please feel free to change the topic’s status and/or post a followup.

    Well I had other things to do, I got back to it and fixed the problem, to make it compatible with qtranslate.

    I had to update all $optsets[‘name’] and $opsets[‘label’] to __($optsets[‘name’]) and __($opsets[‘label’]), I actually added the wrapper around all $op(t)sets[‘…’] in functions to display the settings on the user side, so that now these can be translated either using a po/mo file or qtranslate language tags.
    I don’t know if there’s any risk in changing the whole plugin like that, but that does the trick for me. (apart that obviously with new updates I’ll have to reedit these..)

    esmi

    @esmi

    Forum Moderator

    When you update the plugin, all of your changes will be lost. Plus we can;t really support a hacked plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: eShop] Translation in option sets’ is closed to new replies.
Skip to toolbar