This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 3 replies, has 2 voices.

Last updated by Bobby 7 months, 1 week ago.

Assigned support staff: Bobby.

Author Posts
March 7, 2019 at 4:47 pm #3285890

leonardoP-4

I need to port a web site from qtranslate-x to wpml.

I'm experiencing issues with shortcoder plugin (https://wordpress.org/plugins/shortcoder/)

is there a way to make wpml translate string on that plugin?

March 8, 2019 at 9:13 pm #3295586

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hello,

if possible please provide me with some more information on the issue you are experiencing so i can better understand

have you scanned the plugin using WPML String Translation . ? If the specific plugin is mutlilingual ready its texts should be wrapped in a gettext call which is what String Translation looks in order to pick up the text and allow it to be translated .

March 10, 2019 at 6:37 am #3303055

leonardoP-4

Hello, let me try to better explain:
Shortcoder is a plugin that permits to define custom shortcodes with parameters.
Each showrtcode is defined in HTML using the tool and should be embedded into posts contents. (eg. [sc name="carTec-pozzetto"])
During rendering the shortcodes are replaced by the actual html text.
All the hml text are stored into the table wp_option, option_name='shortcoder_data'
QTranslate-X works with shortcoder (if shortcoder html includes QTtags then these are currectly translated and rendered).

WPML can show the string of the plugin configuration forms but not the actual shortcode texts.

March 11, 2019 at 5:07 pm #3314955

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

You can attempt the following

1. Go to WPML->String Translation -> Translate texts in admin screens and investigate the admin screen and add the strings from there if they have been registered

2. To make those fields translatable you need to add a language configuration file to your theme:
https://wpml.org/documentation/support/language-configuration-files/

3. Or you can try wrapping the HTML within the shortcode in gettext call

=> https://wpml.org/faq/language-setup/

The topic ‘[Closed] support for shortcoder-plugin’ is closed to new replies.