Meaning of % characters in %price% %currency%

Meaning of % characters in %price% %currency%

by German Valero -
Number of replies: 3
Picture of Language pack maintainers

Hi,

I was translating  portal:addons.strings.cost | local_moodlecloudsignup

which has the following English string:

%price% %currency%


And I wonder what the meaning/purpose of the %_% enclosing characters is, and whether or not I could/should translate the words 'price' and 'currency'.


Thanks in advance for your help.

In reply to German Valero

Re: Meaning of % characters in %price% %currency%

by David Mudrák -
Picture of Language pack maintainers

Let me suggest to ask directly via a comment at the page https://moodle.org/plugins/local_moodlecloudsignup

In reply to David Mudrák

Re: Meaning of % characters in %price% %currency%

by German Valero -
Picture of Language pack maintainers

Thanks David,

Mathieu Petit-Clair kindly explained the issue (they are placeholders, not translatable)  and I just updated Moodle Docs at https://docs.moodle.org/dev/Translation_FAQ#Placeholders_enclosed_within_.25_characters_.28.25example.25.29_must_not_be_translated .