Git Product home page Git Product logo

Comments (4)

MaxSem avatar MaxSem commented on May 25, 2024

For the reference, this is https://maps.wikimedia.org/?uselang=en#13/47.2381/9.5982 and specifically this tile: https://maps.wikimedia.org/osm-intl/13/4314/[email protected]?lang=en (JSON: https://maps.wikimedia.org/osm-intl/13/4314/[email protected]?lang=en ). Looks like the language picking algorithm prefers choosing any definite language to default label.

from kartotherian.

mooeypoo avatar mooeypoo commented on May 25, 2024

@mdholloway Head's up -- got a patch up in Babel. I am having trouble locally testing this (I don't have the entire stack running locally anymore), but I added a test for the specific edge case (with a comment to explain) so it should work well. If you still have the system set up for testing locally, please test, merge if good, and deploy; might need to update the npm package for babel + extension.json in kartotherian.

from kartotherian.

Pikse avatar Pikse commented on May 25, 2024

This latinization part of language picker seems to be bugous in its other aspects too, or at least it doesn't do quite what the description says. It seems to pick language with Latn suffix where name key with different name variant already is in Latin script (T195318) and it picks Latin-script name for language that isn't in Latin script (T208927), while it doesn't pick up name with pinyin suffix for Latin-script language (like Sanming name for Finnish here). @mooeypoo, can you take a look?

from kartotherian.

ka7 avatar ka7 commented on May 25, 2024

btw: this fix is meanwhile reflected also now in maps.wikimedia.org. it shows the correct therm "Feldkirch"
thanks.

from kartotherian.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.