System Design · Middle · Question 41 of 75

How do you load translations in a multilingual SPA without bloating the bundle?

Explanation

Dictionaries for all languages easily take hundreds of kilobytes. Dynamic import by locale and namespace saves bandwidth. With Server Components, dictionaries don't end up in the client bundle at all.

Further reading

Problem with a question

System Design · Middle · question 41

Test yourself

Take the System Design · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz