Coder Social home page Coder Social logo

Comments (2)

emylonas avatar emylonas commented on August 27, 2024

Todo:

  1. @emylonas decide on codes by looking at data.
  2. @emylonas or @birkin grep code to find any wrong codes.
  3. @birkin implement.

from iip-production.

emylonas avatar emylonas commented on August 27, 2024

All codes in the <textLang> element are "he" and "la" (2-letter ISO codes)
All codes in the body, on the <div> elements that contain inscription text, are "heb" and "lat" (3-letter ISO codes)

Greek and Aramaic aren't an issue as they are always 3-letter codes. (grc, arc)

After a lot of research into 2 and 3 letter codes, what I have discovered is that we should probably be using the language subtags defined by IANA: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry (note that this very long list also contains script subtags, dialect subtags and so on.).
In the IANA list, Latin is la, Hebrew is he unless it's Old Hebrew, in which case it's hbo. It might be better if we used hbo, but we haven't thus far, and it's probably better not to change.

It's probably best to change the heb codes to he codes at this point. Same with Latin. This is to be done in the texts, and doesn't require any further involvement from Birkin.

from iip-production.

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.