GALAglobal / TAPICC

The Translation API Cases and Classes (TAPICC) initiative is a collaborative, community-driven, open-source project to advance API standards in the localization industry.
https://galaglobal.github.io/TAPICC/
Other
24 stars 3 forks source link

Bad example regarding language tags #8

Closed rmraya closed 6 years ago

rmraya commented 6 years ago

At https://github.com/GALAglobal/TAPICC/tree/master/docs/T1/WG3/wd01/extraction_examples/language_tags it is mentioned that using simplified language tags is bad. That is an incorrect assumption.

Identifying language variants is not always necessary or desirable. There are some languages that are used mainly in one country, like Japanese for example and providing the country is redundant.

In most cases, "ja" is enough for Japanese and "ja-JA" is simply redundant. Same thing happens with many other languages.

As indicated by W3.org:

Always bear in mind that the golden rule is to keep your language tag as short as possible. Only add further subtags to your language tag if they are needed to distinguish the language from something else in the context where your content is used.

Check https://www.w3.org/International/questions/qa-choosing-language-tags

JanHusarcik commented 6 years ago

Hi Rodolfo,

what I'm arguing in this example is using not specific enough language tag is bad and showing it on sr and en.

I'm in no way suggesting someone should use e.g. ru_Cyrl_RU, due to its redundancy.

I'm, also referencing https://www.w3.org/International/questions/qa-choosing-language-tags (and others) in the good example, which complements the bad one.

What I can do is to include additional references:

Would that work for you?

Jan

DavidFatDavidF commented 6 years ago

I second adding the additional references. I agree that sr is a good "bad example" Cheers dF

Dr. David Filip

OASIS XLIFF OMOS TC Chair OASIS XLIFF TC Secretary, Editor, Liaison Officer Spokes Research Fellow ADAPT Centre KDEG, Trinity College Dublin Mobile: +420-777-218-122

On Tue, Mar 6, 2018 at 3:29 PM, JanHusarcik notifications@github.com wrote:

Hi Rodolfo,

what I'm arguing in this example is using not specific enough language tag is bad and showing it on sr and en.

I'm in no way suggesting someone should use e.g. ru_Cyrl_RU, due to its redundancy.

I'm, also referencing https://www.w3.org/International/questions/qa- choosing-language-tags (and others) in the good example, which complements the bad one.

What I can do is to include additional references:

Would that work for you?

Jan

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GALAglobal/TAPICC/issues/8#issuecomment-370819189, or mute the thread https://github.com/notifications/unsubscribe-auth/AB17c462Q846aeKKzIzgNC-kYpdPEdeSks5tbqtZgaJpZM4SHJ1n .

JanHusarcik commented 6 years ago

@rmraya @DavidFatDavidF Fixed in https://github.com/GALAglobal/TAPICC/commit/bfd688ee9f8245200c7c3dc48de0d665b42094b2, pls check.