Makara

screenshot of Makara
express

An internationalization module for kraken and express

Overview:

Makara is a module designed for setting up internationalization in Kraken and Express.js apps. It simplifies the process by providing a more opinionated configuration that can be easily integrated into an Express application with minimal setup. Makara includes components like bundalo for loading localized strings, engine-munger for template lookup control, and adaro as the default template engine connecting dustjs-linkedin to Express.

Features:

  • Internationalization Setup: Simplifies internationalization setup in Express.js apps.
  • Configuration Flexibility: Offers configuration options for localization paths, fallback locales, metadata editing tags, and cache settings.
  • Localization Files Structure: Provides guidance on organizing .properties files for different languages and countries.
  • Template Localization: Maps .properties files to dust templates for localization of content.
  • Override Functionality: Allows customization of filename mappings by providing a formatPath function.

Summary:

Makara is a convenient tool for developers looking to implement internationalization in their Kraken and Express.js applications. By offering predefined configurations and guidance on organizing localization files, Makara simplifies the setup process. Its flexibility in allowing customization of settings like fallback locales and cache options adds to its appeal for developers seeking an efficient internationalization solution.

express
Express

Express.js is a simple Node.js framework for single, multi-page, and hybrid web applications.