Words can mean different things depending on their context.
For instance, file can both be a noun and a verb in english. However they translate differently in French:
- File (verb): ranger, classer
- File (noun): fichier
I can see an API loooking like:
Rosetta.translate("File", locale: :fr, context: "Verb")
# => Classer
And having a dedicated key linked to the main translation key.
Words can mean different things depending on their context.
For instance,
filecan both be a noun and a verb in english. However they translate differently in French:I can see an API loooking like:
And having a dedicated key linked to the main translation key.