Replies: 2 comments 3 replies
-
no...you will have to add those keys to the resource store...even just if temporary...https://www.i18next.com/overview/api#resource-handling best practice would be to hold those translations in i18next anyway and let the server just pass down needed keys instead of fulltext |
Beta Was this translation helpful? Give feedback.
1 reply
-
you can call https://github.com/i18next/i18next/blob/master/src/PluralResolver.js#L153 on eg.: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the scenario where a server response contains translation keys I want to use to use pluralisation with on the client.
How can I bind a
t
function to a temporary set of keys, that are not loaded from local resources?Or is the pluralisation function somehow exposable so I can use it with a set of keys?
Beta Was this translation helpful? Give feedback.
All reactions