Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add translations for "Annex to" #49

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

mico
Copy link
Contributor

@mico mico commented Oct 9, 2024

closes #43

Copy link
Contributor

@opoudjis opoudjis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're missing German, :de

The abbreviation for Chinese is :zh, not :cn . (Country abbreviations and language abbreviations can be different.)

@opoudjis
Copy link
Contributor

opoudjis commented Oct 11, 2024

And if :language is set to :es, we expect the suffix generated to be -S: currently it is just -. So Anexo al BE de la UIT N.º 1000-; cf. French Annexe au BE de l'UIT 1000-F

@mico
Copy link
Contributor Author

mico commented Oct 14, 2024

You're missing German, :de

The abbreviation for Chinese is :zh, not :cn . (Country abbreviations and language abbreviations can be different.)

@opoudjis Please help me to find identifier's representation in German.

https://www.itu.int/pub/T-SP-OB.1283-2024 - here I don't see any, as well on other identifier's pages

@opoudjis
Copy link
Contributor

opoudjis commented Oct 14, 2024

I don't know where I got the idea that German was a publication language of ITU-T: it isn't, and hasn't been. Sorry, ignore.

Still need :zh though.

@mico mico requested a review from opoudjis October 16, 2024 11:24

it_behaves_like "converts pubid to pubid"
let(:pubid_ru) { "Приложение к МСЭ-T OB No. 1283 (01/2024)" }
let(:pubid_zh) { "ITU-T OB No. 1283 (01/2024)附件" }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"ITU-T OB No. 1283 (01/2024)附件" => "ITU-T OB No. 1283 (01/2024) 附件"

@ronaldtse
Copy link

The translations need some adjustment:

  1. The references for "ITU OB", "ITU OB Issue X" and "Annex to ITU OB Issue X" are different.
  2. I've added the "long" vs "short" versions of PubiDs here that are used.
  3. In addition, there are "with lang" and "without lang" options as well.
---
# No language
ITU_Operational_Bulletin:
  long:
    en: "ITU Operational Bulletin"
    zh: "国际电联《操作公报》"
    ar: "النشرة التشغيلية للاتحاد الدولي للاتصالات"
    es: "Boletín de Explotación de la UIT"
    fr: "Bulletin d'exploitation de l'UIT"
    ru: "Оперативный бюллетень МСЭ"
  short:
    en: "ITU OB"
    zh: "《操作公报》"
    ar: "النشرة التشغيلية"
    es: "BE de la UIT"
    fr: "BE de l'UIT"
    ru: "ОБ МСЭ"

# With or without language
ITU_Operational_Bulletin_No_1283:
  long:
    en: "ITU Operational Bulletin No. 1283"
    zh: "国际电联第1283期《操作公报》"
    ar: "رقم1283 النشرة التشغيلية للاتحاد الدولي للاتصالات"
    es: "Boletín de explotación de la UIT N.o 1283"
    fr: "Bulletin d'exploitation de l'UIT No 1283"
    ru: "Оперативный бюллетень МСЭ №. 1283"
  short:
    en: "ITU OB 1283"
    zh: "第1283期《操作公报》"
    ar: "النشرة التشغيلية رقم 1283"
    es: "BE de la UIT N.º 1283"
    fr: "BE de l'UIT 1283"
    ru: "ОБ МСЭ №. 1283"

ITU_Operational_Bulletin_No_1283_With_Lang:
  long:
    en: "ITU Operational Bulletin No. --1283A-1283-E"
    zh: "国际电联第1283期《操作公报》"
    ar: "A-1283 النشرة التشغيلية للاتحاد الدولي للاتصالات"
    es: "Boletín de explotación de la UIT N.o 1283-S"
    fr: "Bulletin d'exploitation de l'UIT No 1283-F"
    ru: "Оперативный бюллетень МСЭ №. 1283-R"
  short:
    en: "ITU OB 1283"
    zh: "第1283期《操作公报》"
    ar: "A-1283 النشرة التشغيلية رقم"
    es: "BE de la UIT N.º 1283-S"
    fr: "BE de l'UIT 1283-F"
    ru: "ОБ МСЭ №. 1283-R"

# With or without language
Annex_to_ITU_OB_1283:
  long:
    en: "Annex to ITU Operational Bulletin No. 1283"
    zh: "国际电联第1283期《操作公报》附件"
    ar: "1283-A ملحق بالنشرة التشغيلية رقم"
    es: "Anexo al Boletín de Explotación de la UIT N.º 1283"
    fr: "Annexe au Bulletin d'exploitation de l'UIT No 1283"
    ru: "Приложение к Оперативному бюллетеню МСЭ №. 1283"
  short:
    en: "Annex to ITU OB 1283"
    zh: "国际电联第1283期《操作公报》附件"
    ar: "1283 ملحق بالنشرة التشغيلية رقم"
    es: "Anexo al BE de la UIT N.º 1283"
    fr: "Annexe au BE de l'UIT 1283"
    ru: "Приложение к ОБ 1283 МСЭ"

Annex_to_ITU_OB_1283_With_Lang:
  long:
    en: "Annex to ITU Operational Bulletin No. 1283-E"
    zh: "国际电联第1283期《操作公报》附件"
    ar: "1283-A ملحق بالنشرة التشغيلية رقم"
    es: "Anexo al Boletín de Explotación de la UIT N.º 1283-S"
    fr: "Annexe au Bulletin d'exploitation de l'UIT No 1283-F"
    ru: "Приложение к Оперативному бюллетеню МСЭ №. 1283-R"
  short:
    en: "Annex to ITU OB 1283-E"
    zh: "国际电联第1283期《操作公报》附件"
    ar: "1283-A ملحق بالنشرة التشغيلية رقم"
    es: "Anexo al BE de la UIT N.º 1283-S"
    fr: "Annexe au BE de l'UIT 1283-F"
    ru: "Приложение к ОБ 1283-R МСЭ"

Copy link

@ronaldtse ronaldtse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As commented.

@mico
Copy link
Contributor Author

mico commented Oct 18, 2024

en: "ITU OB"

@ronaldtse do we always omit sector part ("-T" in "ITU-T") for Operational Bulletin identifiers?

@ronaldtse
Copy link

Good question. The answer is YES. The ITU OB belongs to ITU, not its bureaus.

ITU OB is an "ITU" level output, above the bureau level of "ITU-T", "ITU-R", and "ITU-D".

@mico
Copy link
Contributor Author

mico commented Oct 19, 2024

Good question. The answer is YES. The ITU OB belongs to ITU, not its bureaus.

ITU OB is an "ITU" level output, above the bureau level of "ITU-T", "ITU-R", and "ITU-D".

@ronaldtse On the website it's inside "ITU-T"
image

And the link have "T" as part of it: https://www.itu.int/pub/T-SP-OB.1096-2016

@ronaldtse
Copy link

The ITU-T publishes the ITU OB on behalf of ITU.

The ID you quoted is not to be followed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Internationalisation for ITU identifiers
3 participants