Closed pmachapman closed 1 year ago
This occurs because the arb
code does not have a default script. Clearly, the IetfLanguageTag.TryGetSubtags
is not sufficient to get the default script code for a language tag. We need to write our own mechanism for finding the default script code for a language tag. The SLDR langtags.json
file should contain sufficient information to lookup the default script. We will need to parse it directly.
When we generate pre-translations with the source as English, and with no data in the target text, the Arabic pre-translations look like:
I don't think this is a QA issue (As Kannada is generated in Kannada script).
I have attached sample source and target files (en-arb.zip), and details of the test translation engine are: