Skip to content
Discussion options

You must be logged in to vote

Got it working. Had to copy whole i18n function (https://github.com/ivanhofer/typesafe-i18n/blob/main/packages/runtime/src/util.instance.mts#L16) so I can access the cache variable myself. Rest was just replacing locales in the cache with my reloaded one.

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@zabihexes
Comment options

@zabihexes
Comment options

@ivanhofer
Comment options

Comment options

You must be logged in to vote
1 reply
@ivanhofer
Comment options

Answer selected by zabihexes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants