Meaning of % characters in %price% %currency%

Meaning of % characters in %price% %currency%

autor German Valero -
Počet odpovedí: 3
Obrázok: 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.

V odpovedi na German Valero

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

autor David Mudrák -
Obrázok: Language pack maintainers
V odpovedi na David Mudrák

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

autor German Valero -
Obrázok: 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 .