You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does it make sense to support the dot notation as well for JSON translation files?
i.e. __("nav.login") will load from
{
"nav": {
"login": "Login",
}
}
While it is subjective, I find that putting all translations into 1 JSON file makes it easier for collaboration. The person translating does not have to manage files and folders.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Does it make sense to support the dot notation as well for JSON translation files?
i.e.
__("nav.login")
will load fromWhile it is subjective, I find that putting all translations into 1 JSON file makes it easier for collaboration. The person translating does not have to manage files and folders.
Beta Was this translation helpful? Give feedback.
All reactions