Git Product home page Git Product logo

emqx-i18n's Introduction

EMQX Config Documentation and Dashboard Internationalization

This repository contains multi-language translations for EMQX document generation and EMQX Dashboard.

How the files are used

  • During EMQX build, it downloads the desc.zh.hocon file to dump zh flafor schema doc (which is then used to generate markdown docs). EMQX does NOT download desc.en.hocon because en being the source of truth always resides in upstream repository.

  • EMQX dashboard current builds their own dictionary, but will consider taking this repo as the source of truth in the future.

Why named hocon while they are JSON

!!! DO NOT ATTEMPT to change naming convention of the files for below reasons:

  1. HOCON is a super-set of JSON, so JSON IS technically also HOCON.
  2. The en flavor files in upstream (emqx project) are HOCON format, and even after they are merged, it's just one HOCON file concatenated.
  3. The file suffix .hocon is used by emqx when it tries to build the dictionary cache.

Branches

  • main: EMQX before 5.3.2 downaloads from this branch
  • v53: EMQX since 5.3.2 (before 5.4) downloads from this branch

Workflow

The primary language is English, which originates from emqx.git. Translations are stored in this repository.

To make changes, follow these steps:

  • Update English descriptions in the upstream repository.

  • Periodically sync the updated English description file to this repository.

    • In emqx proejct, build the file with make i18n.

    • Copy the dumped file _build/docgen/desc.en.hocon to this repo.

    • Send a pull request for review.

  • Translators should review changes in the English version and apply corresponding updates to their translations.

  • Run jq --sort-keys . desc.zh.hocon to ensure the keys are sorted.

emqx-i18n's People

Contributors

zmstone avatar wivwiv avatar kjellwinblad avatar lafirest avatar meggielqk avatar zhongwencool avatar

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.