Let's say I have a string in English, locale="en", e.g. "computer" and its Spanish translation, locale="es" translation, would be "computadora".
If the website is currently set to English, how could still access that specific string but translated to Spanish without changing the global locale for the whole website?
Something like = gettext('computer', language='es') ?
Let's say I have a string in English, locale="en", e.g. "computer" and its Spanish translation, locale="es" translation, would be "computadora".
If the website is currently set to English, how could still access that specific string but translated to Spanish without changing the global locale for the whole website?
Something like = gettext('computer', language='es') ?
Thanks