Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "localization"

This module implements an interface for the internationalization of timecount. It allows users to easily change the language of time writers based on translation files.

Employ one of the following snippets to use it in your project:

  • EcmaScript 6 or equivalent:
    import { Locale } from "timecount/localization";
    
  • Older EcmaScripts:
    var localization = require("timecount").localization;
    // -or
    var timecount = require("timecount/localization");
    

Currently supported languages

  • πŸ‡ΊπŸ‡Έ English (US) β€” Native, hardcoded
  • πŸ‡§πŸ‡· Portuguese (Brazil)
  • πŸ‡΅πŸ‡Ή Portuguese (Portugal)
  • πŸ‡ͺπŸ‡Έ Spanish (Spain)
  • πŸ‡²πŸ‡½ Spanish (Mexico)

If you wish to contribute with a new translation, please see Contributing: Translating.

Index

Generated using TypeDoc