Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Fluent Language - A localization system for...

The Fluent Language - A localization system for natural-sounding translations

When developing a project for many cultures, it's important to start from day-0 with a proper localization system - otherwise, we would have many reworks. So, let's talk about Fluent, Mozilla's DSL that offers the correct way to provide the localization for your system. It's flexible to support as many languages as necessary without messing up the code.

Bruno Macabeus is a Sr. Full-Stack Engineer at Anima, a startup company focused on enhancing the experience for designers and front-end developers through workflow automation. He is responsible for constructing plugins for design platforms like Figma and Adobe XD, in addition to contributing to the development of the Python/Node backend.

Bruno Macabeus

December 03, 2024
Tweet

More Decks by Bruno Macabeus

Other Decks in Programming

Transcript

  1. Polish is a language with the paucal numbers. We have

    one word for few, and another word for many ?????
  2. ARB

  3. Fluent is a Mozilla language developed with the aim of

    solving issues - and we can also take advantage of it to solve our issues
  4. Selectors Variables Comments Functions Writing Text Referencing Messages Attributes The

    star indicates the “default” variant. A default variant is required
  5. @ fl uent/bundle @ fl uent/react (vanilla) (it isn't fl

    uent- fi rst) i18next Developed by Mozilla
  6. @ fl @ fl uent/react react-i18next Original and full code

    on github.com/mozilla/pontoon Check the full code here
  7. @ fl @ fl uent/react react-i18next Original and full code

    on github.com/ fi refox-devtools/pro fi ler
  8. @ fl @ fl uent/react react-i18next Original and full code

    on github.com/ fi refox-devtools/pro fi ler
  9. @ fl @ fl uent/react react-i18next Original and full code

    on github.com/ fi refox-devtools/pro fi ler
  10. @ fl @ fl uent/react react-i18next Original and full code

    on github.com/ fi refox-devtools/pro fi ler
  11. @ fl @ fl uent/react react-i18next Original and full code

    on github.com/ fi refox-devtools/pro fi ler
  12. @ fl @ fl uent/react react-i18next Original and full code

    on github.com/ fi refox-devtools/pro fi ler