Git Product home page Git Product logo

Comments (17)

samdark avatar samdark commented on August 17, 2024 2

@Hlaford the problem is that there are multiple standards that are not deprecated.

from portable-ascii.

samdark avatar samdark commented on August 17, 2024 2

So solution would be allowing to choose a standard.

from portable-ascii.

samdark avatar samdark commented on August 17, 2024 1

There are multiple ways to tranlit and there are many GOSTs (state standards). Using the one for passports would produce "lysaia gora".

from portable-ascii.

samdark avatar samdark commented on August 17, 2024 1

No, that won't work well. If it's something like generating slugs for an article title, that doesn't matter much which standard is used. If it's passport names, your users may get in trouble if you aren't using correct standard. If your service if exchanging info with state road police, it matters to use correct standard for road signs and street names.

from portable-ascii.

voku avatar voku commented on August 17, 2024 1

Thank you for the review & feedback. 👍

from portable-ascii.

kalessil avatar kalessil commented on August 17, 2024

http://translit.cc/ for rescue, this specific case will be "lysaja gora".

from portable-ascii.

voku avatar voku commented on August 17, 2024

Thanks @kalessil I have merged the suggestions from "translit.ru" and "translit.cc" here: https://github.com/voku/portable-ascii/blob/master/src/voku/helper/data/ascii_by_languages.php#L468

from portable-ascii.

samdark avatar samdark commented on August 17, 2024

https://en.m.wikipedia.org/wiki/Romanization_of_Russian

from portable-ascii.

Hlaford avatar Hlaford commented on August 17, 2024

There are multiple ways to tranlit and there are many GOSTs (state standards). Using the one for passports would produce "lysaia gora".

I would use this one, actually. It is GOSTed (i.e. standardized).

from portable-ascii.

GrahamCampbell avatar GrahamCampbell commented on August 17, 2024

Do different standards all have the same language code?

from portable-ascii.

samdark avatar samdark commented on August 17, 2024

Yes.

from portable-ascii.

GrahamCampbell avatar GrahamCampbell commented on August 17, 2024

Hmm, I guess we just need to choose a standard.

from portable-ascii.

kalessil avatar kalessil commented on August 17, 2024

+1 for "So solution would be allowing to choose a standard."

from portable-ascii.

voku avatar voku commented on August 17, 2024

@samdark Ok, so what standards do a normal application / user need?

"Passport (2013)" + "GOST 7.79-2000(B)"?https://en.m.wikipedia.org/wiki/Romanization_of_Russian#content-collapsible-block-1

from portable-ascii.

samdark avatar samdark commented on August 17, 2024

Yes. Would be enough for many typical cases.

from portable-ascii.

voku avatar voku commented on August 17, 2024

@samdark I added mappings for "ru__passport_2013" && "ru__gost_2000_b" (copy&past from wikipedia).

Can you please take a look at it, here is a test case for the string "лысая гора": a2b1920

Mappings:

from portable-ascii.

samdark avatar samdark commented on August 17, 2024

Looks OK to me.

from portable-ascii.

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.