I just implemented my own localization system. Instead of relying on bulky libraries, I just made a simple one which uses JSON dictionaries. The hardest part was figuring out how to get translations into client components without bundling every single language’s dictionary. Anyways, since the app looks the same after this (just translatable), I am attaching this unholy behemoth of a one liner I made. Don’t know if I should be proud or scared.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.