Skip to content

Internationalization (i18n) #2

@isneezy

Description

@isneezy

There is a need to internationalize the lib.
has a proposal we can have a default internationalized strings/keys and give the developer the ability a flexibility to provide their own translation

configuration

var confere = new Confere({
   locale: "en" // locale: "en_US",
   i18n: { //custom translation (should override/merge the default)
      en: {
          name: "Name",
          "required" : "${name} field is required"
      },
      //... other locales translations
   }
   //... other configuration options
})

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions