-
|
Help me settle the debate: is there something that My guesses:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
That's a good question 😅 In most libraries you would probably see a
I did choose to use |
Beta Was this translation helpful? Give feedback.
-
|
thanks for the in-depth answer, would've never guessed it, can finally find peace in my head :) |
Beta Was this translation helpful? Give feedback.
That's a good question 😅
In most libraries you would probably see a
ttranslation functions.But since
typesafe-i18ncan be used in multiple ways, I needed to have three different names so you would be able to immediately tell the difference bretween instances ofi18nString,i18nObjectandi18nin your code.The first character that popped up in my mind was
l(which probably stands forlocale?).Since it can be hard to tell the difference between
l(lovercaseL) andI(uppercasei)I did choose to use
L, resulting intoL,LLandLLLfor the names of those instances.