Skip to content

Best practices on maintaining translation files #148

Answered by ivanhofer
LeoBorai asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @EstebanBorai thanks for opening this discussion :)
This is a good question and unfortunately I don't have a good answer yet.

I would always recommend the object syntax for structuring your dictionaries.
May I ask how big the dictionary in your application is?

First of all: translation files are usually not that big and you could easilly store 500 translations in a single dictionary file and transfer it with about 10kb of network usage. I know we could (and also should) improve this but consider this not as such a big problem like transferring a similar amount of javascript library code that would also take some amount of time for parsing.

typesafe-i18n currently only transfers the cur…

Replies: 1 comment 3 replies

Comment options

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

@LeoBorai
Comment options

@ivanhofer
Comment options

Answer selected by ivanhofer
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