This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is trying to translate
admin_texts_wpseo_titles
for SEO purposes and is unsure how to handle placeholders and actual text within the string.
Solution:
We recommend translating only the actual text within the string and keeping the placeholders identical across languages. For example, in the string
%%term_title%% Archives %%page%% %%sep%% %%sitename%%
, only the word "Archives" should be translated, while placeholders like
%%term_title%%
,
%%page%%
,
%%sep%%
, and
%%sitename%%
should remain unchanged. Here is how you should translate it:
English Original: %%term_title%% Archives %%page%% %%sep%% %%sitename%%
German Translation: %%term_title%% Archive %%page%% %%sep%% %%sitename%%
For further details on how these placeholders work, you can refer to Yoast's documentation here: Yoast SEO Snippet Variables.
If this solution does not resolve your issue or seems outdated, please check for related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket if needed.
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 7 months, 3 weeks ago.
Assisted by: Andreas W..