Giter VIP home page Giter VIP logo

Comments (13)

roastchicken avatar roastchicken commented on August 17, 2024 1

@arminkhoshbin but @bluzi said the name field should be in English. So that file would be something like this:

{
    "name": "james", 
    "meaning": "the one that changes",
    "aliases": ["jacob", "jacobo", "diego"],
    "translations": {
        "spa": "santiago" 
    }
}

from name-db.

arminkhoshbin avatar arminkhoshbin commented on August 17, 2024 1

Yes. All sorted now @bluzi 👍

from name-db.

bluzi avatar bluzi commented on August 17, 2024

Hi @arminkhoshbin,

The goal of the project is not to translate meanings, it's to spell the name in different languages. The name field should contain the English spelling, and the translations should contain a map of language code and the spelling of that name in this language.

Does this answer your question? What do you think about that?

from name-db.

roastchicken avatar roastchicken commented on August 17, 2024

@bluzi, isn't the example in your comment a file with a non-English spelling in the name field? I think this demonstrates an issue: if we only allow English spellings to have their own files, we prevent non-English aliases that don't directly translate to an English name from being added.

Maybe that's what you want, if it's meant to be a database of primarily English names.

from name-db.

bluzi avatar bluzi commented on August 17, 2024

@roastchicken
I want the collection to contain names from all origins, that's for sure.
My vision is having all kind of names, translated to all languages.

For standardization reasons, I thought it'll be best if the title for each name will be its English translation, and each name will have an array of different spellings.

You can add names from other origins (like I did with yoni), but you can't add names spelled in languages other then English (for example, you can't add the name יוני, which is Hebrew for yoni)
So the format in the comment you attached is valid, you can add an Hebrew name, but it should be spelled in English, and it may have translations to any language you want.

from name-db.

arminkhoshbin avatar arminkhoshbin commented on August 17, 2024

So just to confirm @bluzi you can have names from other origins but they need to be spelled in English and you can have translations to any language including English? If that's the case then the translation test needs to be updated because having an English translation will fail it.

from name-db.

roastchicken avatar roastchicken commented on August 17, 2024

@bluzi I guess I misinterpreted Yoni. I thought that spelling was not the Engish spelling. I can't think of an example, and maybe no such names exist, but I have a feeling there are names that don't have a direct match in English. But I guess that isn't exactly related to this issue, because such names wouldn't have English translations either.

@arminkhoshbin if all names are spelled in English in the name field, what would be the point in having an English translation? Wouldn't that just be duplicate data?

from name-db.

arminkhoshbin avatar arminkhoshbin commented on August 17, 2024

Not necessarily @roastchicken. Take the name Santiago or other aliases of it like Diego as an example. It is of Spanish origin but when translated to English it's James. As a matter of fact the name James is a really common name with many forms in other languages.

https://en.wikipedia.org/wiki/Santiago_%28name%29
https://spanish.stackexchange.com/questions/4588/why-is-santiago-the-equivalent-of-james

from name-db.

roastchicken avatar roastchicken commented on August 17, 2024

@arminkhoshbin could you show me an example file where you would need an English translation? Or are you refuting my first point? I'm having trouble imagining a scenario where an English translation would be necessarily or helpful.

from name-db.

arminkhoshbin avatar arminkhoshbin commented on August 17, 2024

@roastchicken https://github.com/bluzi/name-db/pull/244/files

from name-db.

arminkhoshbin avatar arminkhoshbin commented on August 17, 2024

Thanks @roastchicken. I think you're right. In other words if any name has an English translation then the translation can have its own JSON file. Closing this issue now.

from name-db.

bluzi avatar bluzi commented on August 17, 2024

@arminkhoshbin that's correct. The English translation is the name property, and if a name has more than one English translation, it should have its own file.

Are you completely satisfied with this behavior? If you have any comments, please let me know

from name-db.

bluzi avatar bluzi commented on August 17, 2024

Good :)

Feel free to create more discussions like this one, I feel like it's good to talk about this kind of stuff.

Also, if you feel like the documentation could be more clear about this matter, feel free to improve it if you want to

@arminkhoshbin @roastchicken

from name-db.

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.