Movatterモバイル変換


[0]ホーム

URL:


Internationalization workflow
and formatting

Get started
npm install l10ns -g

A markup for localization.

{ ... plural ... }

Pluralization
I have {likes, plural,
    one{# like}
    other{# likes}}.
Output

I have 1 like.

I have 1,000 likes.

Genus context
{gender, select,
    male{He}
    other{She}} likes you.
Output

He likes you.

She likes you.

Date formatting
{startTime, date,
    yyyy-MM-dd}
Output

2015-01-01

Workflow.

Internationalizing apps requires proper workflow. L10ns sync your localization keys between your source code and storage.

Web Interface.

L10ns have built-in web interface to let translators navigate and search through localizations with ease. It also supports ICU’s Messageformat.

Share, contribute, sponsor.

I'm doing this tool at my free time. It would be great if anyone could offer any kind of support.