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 2 replies, has 2 voices.

Last updated by EAST WEST 1 month ago.

Assigned support staff: Marcos Vinicios Barreto.

Author Posts
September 5, 2019 at 3:13 pm #4520397

EAST WEST

Hello,

I've done some edits on a theme's template and I would like to translate them.

I'm not really sure how I could make those changes visible on string translation.

Thank you.

September 5, 2019 at 6:13 pm #4521437

Marcos Vinicios Barreto
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Bahia (GMT-03:00)

Hello,

Thank you for contacting WPML Support. If the string is properly wrapped in a gettext function (see: https://codex.wordpress.org/Plugin_API/Filter_Reference/gettext), in other words it is localization ready, you can just rescan the strings of your theme files in order to have them available for translation in your String Translation settings, here is how:

1 - In your WordPress Dashboard > WPML > Theme and plugins localization > Strings in the theme settings click to check your theme where you change the files and click the 'Scan selected themes for strings' button.

See: https://wpml.org/documentation/getting-started-guide/theme-localization/#scanning-themes-for-texts

2 - No you should be able to find these strings for translation in your WordPress Dashboard > WPML > Strings Translation settings.

See: https://wpml.org/documentation/getting-started-guide/string-translation/

Please, let me know if it helps, have a nice day.

September 9, 2019 at 3:28 pm #4538533

EAST WEST

Hello, your response was appeared to be really helpful, than you!