<div dir="ltr">I cannot speak for WMF, only about the actual Kartotherian stack behind it, and the way they are currently using it:<br><div><br><div class="gmail_quote"><div dir="ltr">On Fri, May 4, 2018 at 12:52 AM Daniel Koć <<a href="mailto:daniel@ko%C4%87.pl">daniel@koć.pl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
1. The localized maps lack fallback rules (I'm speaking of Polish<br>
language at least). I would ask for English as a fallback for maps in<br>
Polish, but I don't know where should it be requested or configured? Is<br>
this list the right place?:<br>
<br>
<a href="https://github.com/kartotherian/babel/blob/master/lib/fallbacks.json" rel="noreferrer" target="_blank">https://github.com/kartotherian/babel/blob/master/lib/fallbacks.json</a><br>
<br></blockquote><div>See also how the name tag is picked here: <br><a href="https://github.com/kartotherian/babel/blob/master/lib/LanguagePicker.js#L106">https://github.com/kartotherian/babel/blob/master/lib/LanguagePicker.js#L106</a><br></div><div>It has went through several revisions recently, so this is somewhat in a flux. <br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
2. How many languages do you want to support in total and what hardware<br>
resources are needed for that using your toolchain?<br></blockquote><div><br>Kartotherian itself can handle unlimited number of languages. Vector tiles can simply hold every possible language, and babel picks the one you want based on the above heuristic. My understanding is that currently WMF does not filter out any languages, nor does it plan to, so any lang=xx would work, where xx comes directly from the name:xx tags.<br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
3. What about the same language using different scripts, do you plan to<br>
support them all?<br>
<br></blockquote><div>Babel does not actually know much about the "language". It looks at the language codes, trying to match it to the fallbacks, and uses heuristic when fallback fails. E.g. it should be possible to simply have two language codes for Serbian in Latin & Cyrillic, and say that if one is available when the other is not, to fallback.<br></div></div></div></div>