Template talk:Lang-uz

Latest comment: 7 months ago by Trappist the monk in topic Edit request 21 December 2023

Template-protected edit request on 15 November 2015

edit

Uzbek is a Latin-alphabet language so could someone please italicise the text per normal convention for this type of template? Thanks. —  AjaxSmack  01:21, 15 November 2015 (UTC)Reply

  Done. Be prosperous! Paine  17:54, 15 November 2015 (UTC)Reply

Edit request 21 December 2023

edit

We need to add the Arabic script, as Uzbek was historically written in it. Can someone please add it and make the following template work: Template:Lang-uz-Ar. Nataev talk 15:36, 21 December 2023 (UTC)Reply

Not exactly clear what it is that is wanted. This template ({{lang-uz}}) will accept |script=:
{{lang-uz|Text|script=Latn}}Uzbek: Text
{{lang-uz|Теҳт|script=Cyrl}}Uzbek: Теҳт
To write Uzbek text in an Arabic script:
{{lang-uz|نص|script=Arab}}Uzbek: نص
{{lang-uz-Ar}} must be renamed because AR is a region subtag that means Argentina (IETF language subtags are case insensitive).
Nothing that I can see needs doing here unless I wholly misunderstand what Editor Nataev is asking.
Trappist the monk (talk) 23:20, 22 December 2023 (UTC)Reply
Thanks for taking a look! Actually, I was wondering if we can make {{lang-uz-Arab-Cyrl-Latn}} work. For instance, if I wanted to list an Uzbek name in all the three scripts, I would just write {{lang-uz-Arab-Cyrl-Latn| حمزہ حکیم زادہ نیازی | Ҳамза Ҳакимзода Ниёзий | Hamza Hakimzoda Niyoziy }}. Currently it doesn't work, but Template:lang-uz-Cyrl-Latn (without the Arabic) works, as in this article. I wonder if this template I created has something to do with it. Otherwise, it should probably be deleted. Nataev talk 01:05, 23 December 2023 (UTC)Reply
Currently even {{lang-uz-Arab|حمزہ حکیم زادہ نیازی }} doesn't work, resulting in "Error: [undefined] Error: {{Lang}}: no text (help): unrecognized script: arabic for code: uz (help)". I am under the impression that for this template it was assumed Uzbek is never written in the Arabic script, which is not the case. Nataev talk 01:09, 23 December 2023 (UTC)Reply
The error message is telling you that arabic is not a valid ISO 15924 script. Fix that.
To create a template that renders all three scripts will take some work.
Trappist the monk (talk) 02:15, 23 December 2023 (UTC)Reply