GithubHelp home page GithubHelp logo

i18n-nationality's People

Contributors

ansaroll-ephatta avatar aronhoyer avatar causztic avatar chris-jamieson avatar dependabot[bot] avatar jbaranguan avatar json-nan avatar lucinity-atli avatar nicolasigot avatar rrdlpl avatar sirtawast avatar sourcecode911 avatar valstu avatar yoannma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

i18n-nationality's Issues

.git folder included

When installing i18n-nationality a .git folder is included in node_modules/i18n-nationality which causes this error when installing or uninstalling other modules.

npm ERR! code EISGIT
npm ERR! path [...]/node_modules/i18n-nationality
npm ERR! git [...]/node_modules/i18n-nationality: Appears to be a git repo or submodule.
npm ERR! git     [...]/node_modules/i18n-nationality
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.

If I remove the .git folder I don't get this error.

Spanish as a supported language

Hello, I'm not seeing the Spanish support when I install the library, but I do see it on the master branch. Is the npm library not synced with the code? And if that's the case, any idea when we can see it updated?

Typescript program return 'undefined'

Hi there,
i tried to modify the code to run in typescript

import { Component, VERSION } from "@angular/core";
import * as nationalities from "i18n-nationality";
@Component({
  selector: "my-app",
  templateUrl: "./app.component.html",
  styleUrls: ["./app.component.css"]
})
export class AppComponent {
  name = "Angular " + VERSION.major;

  ngOnInit() {
    console.log(nationalities.getName("US", "en")); 

  }
}

Result:
"undefined"

There ain't any error in my program. Any clue?

Support for plural, gender alternatives adjectives / names

In some languages — like mine, french — adjective could be plural or according to gender.

I'm men « français » my wife is « française » but my daughters are « françaises » but we both are « français »
masculin pluriel for « français » is unvariable.

but it's quite difficult to globalize to other languages ?

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.