I have added some additional code to my bot to create more localized labels.
Simple Example: My bot creates an item containing a german (de) label that contains the letter "ß". Then my bot additional creates a label for "de-ch" having this letter replaced by "ss".
What i am not sure about is how to handle wikis having language variants. Lets take http://sr.wikipedia.org/wiki/%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%98%D0%B0 as example page.
What my bot know is: * srwiki page title is "Википедија" * label in "sr-ec" is "Википедија" * label in "sr-el" is "Vikipedija" * srwiki has local language code "sr" and displays variant sr-ec by default
So which labels should i add to wikidata for an item linking this srwiki page? Only sr-ec and sr-el? Or should i additionally add a label using code sr having the same content as sr-ec?
Merlissimo
P.S.: If different wikis have the same language code like enwiki and simplewiki (and specieswiki when enabled) my algorithm is not deterministic in choosing a normalized title as label. The normalized titles of the other wikis having the same language code are added as aliases. I hope that is ok.