The translations package seems to support quite well the case of managing translations of single words. However, in some cases one has the need to translate little sentence including a parameter, say " site". Here, the problem is that in this tiny sentence the positioning of the parameter may depend on the language being used, say " site" in English and "sede di " in Italian.
I am trying to understand if translations supports this case.
Would be great to be able to say:
\NewTranslation{italian}{psite}{sede di #1}
\NewTranslation{english}{psite}{#1 site}
...
\GetTranslationI{psite}{Toronto}
Possibly, with a \GetTranslationI for 1 parameter, \GetTranslationII for two, etc.
In case there is already a way to deal with this case, please take my apology for the noise and consider adding an example in the manual.
The translations package seems to support quite well the case of managing translations of single words. However, in some cases one has the need to translate little sentence including a parameter, say " site". Here, the problem is that in this tiny sentence the positioning of the parameter may depend on the language being used, say " site" in English and "sede di " in Italian.
I am trying to understand if translations supports this case.
Would be great to be able to say:
Possibly, with a
\GetTranslationIfor 1 parameter,\GetTranslationIIfor two, etc.In case there is already a way to deal with this case, please take my apology for the noise and consider adding an example in the manual.