siSwati English

Umsombuluko, Indlovana 5 2024, 7:02:39 ebusuku

moment.js siSwati Translation

Client: Open source project

My role: Translation, writing tests

Tools: JavaScript

Year: 2016

The Moment.js siSwati translation was written for the King's Office App.

All parts of the app had been translated to siSwati, except for the dates. They could be entered manually, but displaying them dynamically would be much better.

Moment.js is a popular open source library that solves this exact problem. It has a long list of supported languages, unfortunately siSwati was not one of them.

This prompted me to write a translation, initially the translation only worked in the King's Office app, but it was later incorporated into the official Moment.js library. The translation file can be found on the github page.

Test out the translation by clicking on the languages at the top of this page.

Back