Skip to content

Enhancement request: support for translating parametrized sentences #28

Description

@callegar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions