native ecosystem support for language tag supersets e.g. en
and en-US
#2191
Unanswered
samuelstroschein
asked this question in
[inlang SDK] Feature Requests
Replies: 1 comment
-
It should already be doing that, I'll check to make sure |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem
A language subtag like
en-US
needs to be treated differently than a "base" language tag likeen
orde
. A few examples:en-US
need to be translateden-US
toen
if a message does not exist inen-US
Additional information
Due to different fallback algorithms, an inlang project must provide a fallback to inlang apps to ensure consistency. The worst thing that can happen is inlang app 1 and app 2 treat fallbacks differently.
en-US
, making translations ofen-US
optionalen-US
. A fallback logic is required for this thoughBeta Was this translation helpful? Give feedback.
All reactions