Replies: 1 comment 7 replies
-
Hey, we don't support this feature, however you can use Tolgee with i18next if this is a crucial for you. https://tolgee.io/js-sdk/integrations/i18next/installation |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are trying to move to tolgee as a translation management, and currently use i18n. The integration works fine, but using the i18n native format in the tolgee platform isn't really the best, so we want to switch to ICU (or whatever is supported best by the platform).
One feature we use quite a bit currently is translation key nesting1 which allow you to nest translation keys in other keys. This is very useful since we change some words based on the users context, but not entire sentences and most translations.
F.ex.
And they have other common translations, like:
The value enclosed in
$t()
would get translated and the nested value would be interpolated. This saves us a ton of translation keys that are identical except for just a few words. Is there some way of doing the same with tolgee? Or could there be a plan to implement the feauture?If this is something that could be accepted in tolgee, I'd be happy to create a PR.
Or if this is something that can be achieved with a plugin, I'd love to know if it's possible.
Footnotes
https://www.i18next.com/translation-function/nesting ↩
Beta Was this translation helpful? Give feedback.
All reactions