Talk:Universal Language Selector

About this board

NaBUru38 (talkcontribs)

Hello, I see the Chinese language option on the America section. No country in the continent has it as official language, so please remove it.

Amire80 (talkcontribs)
Reply to "Chinese in America?"

Getting different fonts into wikipedia

2
VihirLak007 (talkcontribs)

inside the english wikipedia we are able to use several other types of decorative fonts for userpage editings. in the si:wikipedia.org(sinhala wikipedia project) we only have one default font available for that language. is there someone who can make it so we can use few other famous free licensed sinhala decorative fonts inside sinhala wikipedia?

i did ask the one and only most active admin in that project here, he says he dont have the technical knowledge for this, hence im seeking help here.

below are some free licensed sinhala fonts:

Nikerabbit (talkcontribs)

The style guide on English Wikipedia lists the CSS statements that can be used to set font families. However, whether these fonts display correctly or not depends on whether the end user has the fonts installed on their device. This means that while you can follow the same approach to specify Sinhala decorative fonts, there is no guarantee that all users will see them unless they also have those specific fonts installed.

Additionally, the Universal Language Selector (ULS) is designed to host fonts that are necessary for reading text, ensuring accessibility across different languages. It does not provide decorative fonts for stylistic purposes, which is why you may not be able to see a variety of Sinhala fonts through ULS.

Reply to "Getting different fonts into wikipedia"

Nastaliq font for Urdu

14
Summary last edited by Hasley 04:20, 23 July 2020 4 years ago

We'd like to add a Nastaʿlīq (also written Nastalique, Nastaleeq, Nastaliq) font, but so far no free one was found. There is one which is worth asking about to the author.

Syed Wamiq Ahmed Hashmi (talkcontribs)

I would like to request the default font for Urdu to be a Nastaliq font like Jameel Noori Nastaleeq, Urdu Typesetting, etc. This proposal has been twice rejected here so I am raising the issue on the ULS. Further details can be had there. Hope no one objects...

Nemo bis (talkcontribs)

What font do you suggest? We did some research and Nafees Web Naskh was the only recent free font available, see bugzilla:46693. The others were either obsoleted or unfree.

Syed Wamiq Ahmed Hashmi (talkcontribs)

I was asking for a Nastaliq font, of which the best I've found is "Jameel Noori Nastaliq". Naskh (Nafees) is not the standard way of transcribing Urdu.

Nemo bis (talkcontribs)

That is, http://www.urdujahan.com/font.html ? Thanks for letting us know. The website and zip don't contain any information about licensing; another website says "License: freeware". If you wish this font to be included, please contact the author and ask a free license to be included. Also see Extension:UniversalLanguageSelector for more instructions.

TheDJ (talkcontribs)

This all requires some further clarification:

  • At a unicode level, this all uses arabic text (as far as I'm able to tell, and I'm not sure if there are differences in shaping)
  • Nastaliq is the traditional writing style of Urdu language.
  • Due to the availability of Naskh scripts (which are also easier to render due to more consistent line height), it has become more common for urdu to be represented in naskh in digital media.
  • This is considered to be undesirable however.
  • There is no known free nastaliq font.
  • There are however nastaliq fonts available on Windows 8, but since they share the same script, they apparently don't really get easily selected by the font systems.
  • There is a desire to make https://en.wikipedia.org/wiki/Template:Script/Nastaliq unneeded, but this is a requirement that ULS cannot fulfill because of the above reasons

So some points to address:

  1. A free Nastaliq font is desirable and
  2. En.wp doesn't really know what the Urdu wikipedia community thinks of this, it might be useful to figure that out.
  3. A temporary solution might be to make it possible to redefine system font styles in a certain language. So you could have in the font drop down for urdu:
    1. nastaliq system
      font-family: "Jameel Noori Nastaleeq", "Urdu Typesetting", sans-serif;
      
    2. NafeesWeb
    3. system default

There is a nice article on Nastaliq typesetting here

TheDJ (talkcontribs)
TheDJ (talkcontribs)
Nemo bis (talkcontribs)

As you can see in bugzilla:46693, we were aware of the former, but not of the latter. It says however that it's a fork from CRULP's Nafees which, in the version linked from the bug, was not free; the page it links is down but Internet Archive has a copy, the license is not standard. It should be clarified whether the author got from CRULP permission to license his derivative under MIT license, or what.

TheDJ (talkcontribs)
Nemo bis (talkcontribs)

For that one Kartik found a waiver. Have you read the bug that I've linked about half a dozen times by now in this thread? :)

TheDJ (talkcontribs)

Well that information isn't in the ticket that I read. It is however hidden in the commit message.

This post was hidden by C933103 (history)
2601:184:4180:8314:A588:2DA7:FAB2:34F0 (talkcontribs)
103.94.130.3 (talkcontribs)

Is there a way to see a list of currently supported languages?

2
Jarekt (talkcontribs)

Is there a way to see a list of languages which can be selected using ULS on Wikimedia Commons?

Amire80 (talkcontribs)

In which context on Wikimedia Commons? I can think of at least two: user interface language selection and description language in the Upload Wizard. There may be more.

Reply to "Is there a way to see a list of currently supported languages?"

ULS and Interwiki links

4
Summary by Fokebox

The issue has been resolved with new MW 1.40.0

Fokebox (talkcontribs)

Hello,

I use MW 1.39.3 at my wiki family. I have interwiki links and don't need ULS so far. But interwiki links do not work without the extension at Vector-2022. How can I disable ULS but have my interwiki links?

Nikerabbit (talkcontribs)

This question would be more appropriate to developers of the Vector skin.

Fokebox (talkcontribs)

Thanks! I'll try to make a request them.

Fokebox (talkcontribs)

The issue has been resolved with new MW 1.40.0

Reply to "ULS and Interwiki links"

@import on by default?

3
112.213.47.87 (talkcontribs)

I want to add a basic font, using common.css for English readers - unfortunately, @import has been disabled. There is clearly a perfectly rational reason for it to be disabled by default, turning it back on is probably obvious, in some clearly defined settings file. However, I just want to use a web-font, this seems to be the simplest way to do it.


Please educate me on the reason why it is turned off by default, and how to turn it back on.

Nikerabbit (talkcontribs)

If you want to change a font for everyone, the Universal Language Selector extension is not the best way to do it. You can use normal CSS in MediaWiki:Common.css, or maybe there are other extensions to do the same.

112.213.47.87 (talkcontribs)

@import has been disabled in MediaWiki:Common.css. I don't know why. It doesn't matter, I will manually install a font, however annoying, or use an extension of some kind. But again, hoops where the simplest command, could have prevented hours of toil.

Reply to "@import on by default?"

No Japanese or Korean input methods?

2
Gorman (talkcontribs)

Seems especially weird considering there's input methods for just about every language and script on the planet, but none for two of the most commonly spoken languages in Asia… am I missing something, here? When selecting an input method, "Asia" there's about a hundred languages, including Chinese, but no Japanese and no Korean.

Seems like a huge problem to me. Maybe I'm doing something wrong?

Amire80 (talkcontribs)

A volunteer has actually started working on support for Korean recently, and it may be deployed soon. However, the Korean script is actually quite simple and a keyboard for it is relatively easy to implement.

Japanese, in contrast, is very complicated. In theory, it can be done, but it will require very complex mapping between syllables and more than a thousand characters. Because of the complexity, the loading time can be prohibitive, too.

Chinese indeed has an input method in Universal Language Selector, but it only outputs Pinyin, which is a relatively simple Latin-based transcription system. A full-fledged input method for Chinese characters would be a bit similar to Japanese, but even harder, so it's unlikely to be implemented here.

Luckily, Korean, Japanese, and Chinese don't actually need special support, because they have been well-supported in all major desktop and mobile operating systems for more than twenty years, and the people who write in them know how to enable and use these keyboards.

The keyboards in Universal Language Selector are mostly targeted at people whose languages are either not supported in operating systems at all (this is true for many languages of Africa), or languages that are supported, but aren't actually used very much by the public for various reasons (languages of India).

Reply to "No Japanese or Korean input methods?"

translators : what CC stands for ?

2
Summary by Wladek92

closed; thanks for /qqq update.

Wladek92 (talkcontribs)

CC is for Creative Common licence ? Coding Convertions ? or ... ? Thanks. -- Christian 🇫🇷 FR (talk) 07:39, 11 May 2023 (UTC)

Amire80 (talkcontribs)

Is their a way to change the logo link dependent on your chosen language?

4
178.7.208.121 (talkcontribs)

I have a german wiki and am currently working on an english translation. You can track wich language someone is using by implementing some code like this:

{{#ifeq: {{int:edit}} | Edit | English | Not English }}

it returns "English" if someone is using english and "Not English" if someone is using a different language. With this I reworked the whole sidebar to link on their english equivalents if using the english wiki. Now I'm trying to change the link of the logo in the top left corner. I know you can change it by editing the "Mediawiki:Mainpage" page. I tried using this

{{#ifeq: {{int:edit}} | Edit | EnglishMainpage | GermanMainpage}}

but it will always link to the "GermanMainpage". Is their a way to redirect someone on the english/german Maipage by clicking on the logo dependent on wich langauge they have selected?

PerfektesChaos (talkcontribs)

Ungetestet, aber als Idee:

  • Wenn du deine Mainpage als Special:MyLanguage/Mainpage verlinkst und die Versionen davon als Mainpage/de und Mainpage/en anbietest; genauer gesagt: du dich für eine dieser beiden Sprachvarianten als Stammseite entscheidest und die andere als eine von mehreren Übersetzungen dieser Basisversion, dann könnte das vielleicht klappen.

Ansonsten werden dafür gern JavaScript-Gadgets verwendet.

178.0.150.167 (talkcontribs)
MDummy (talkcontribs)

@PerfektesChaos Ich möchte mich auch für den Tipp bedanken. Konnte damit auch den Logo-Link sprachbezogen machen.

Wäre toll wenn das in die Hilfe der Translate Extension aufgenommen würde.

Reply to "Is their a way to change the logo link dependent on your chosen language?"

Is their a way to change the logo link dependent on your chosen language

2
182.1.185.225 (talkcontribs)

indonesia

Nikerabbit (talkcontribs)

Edit MediaWiki:mainpage-url. If the target is a translatable page, you can use Special:MyLanguage link to redirect to the interface language if available.

Reply to "Is their a way to change the logo link dependent on your chosen language"
Return to "Universal Language Selector" page.