Giter Site home page Giter Site logo

Name order about uinames HOT 5 CLOSED

thm avatar thm commented on July 17, 2024
Name order

from uinames.

Comments (5)

thm avatar thm commented on July 17, 2024

@jmblog I'm sorry about this. I'm looping @ClaudioAlbertin in to see if he's got some time to think this through. If not, then I'll be forced to hold off of this for now.

from uinames.

jmblog avatar jmblog commented on July 17, 2024

@thm Don't worry about it. Thanks for your consideration. πŸ˜ƒ

from uinames.

thm avatar thm commented on July 17, 2024

@jmblog I've updated this in the front-end. So, names obtained through uinames.com will be in the correct order now.

from uinames.

jmblog avatar jmblog commented on July 17, 2024

@thm Great!! Thank you so much for the quick update.

from uinames.

ClaudioAlbertin avatar ClaudioAlbertin commented on July 17, 2024

You can specify exceptions for the names of a specific "pool" (country or country/language-combination) by adding using one of the properties "exceptions" for general exceptions or "female_exceptions" and "male_exceptions" respectively for exceptions that only apply to one gender. Using exceptions you can achieve any modification of the names you might want. The exceptions use RegEx and take an array of a pattern and a replacement. This yet has to be documented more thoroughly.

In this specific case you simply need to add this line to all countries which name order should be switched:

"exceptions": [["/^(.*) (.*)$/", "$2 $1"]]

from uinames.

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.