Skip Navigation

This topic contains 0 replies, has 1 voice.

Last updated by mikeD-5 7 months, 2 weeks ago.

Assisted by: Kor.

Author Posts
July 12, 2024 at 4:12 pm #15943341

mikeD-5

Background of the issue:
I am working on a site under development and trying to disambiguate a single string with multiple contexts in WPML. Consider these two strings:

// translators: Refers to the sound
esc_html_e('Crunch', 'cnmd');

// translators: Refers to the exercise, like a sit-up
esc_html_e('Crunch', 'cnmd');

Symptoms:
WPML treats these as the same string even though the context hint indicates they are different. Only a single string translation option appears for 'crunch' in the WPML string translation editor.

Questions:
How can I disambiguate a single string with multiple contexts in WPML?

The topic ‘[Closed] Disambiguating a single string with multiple contexts’ is closed to new replies.