1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-28 02:30:57 +02:00

localizing is now pretty nice

This commit is contained in:
Pomax
2017-02-18 13:45:26 -08:00
parent 0fda4e7ab0
commit 4808a59357
53 changed files with 3428 additions and 1748 deletions

View File

@@ -0,0 +1,7 @@
Read this in your own language:
- [English](?locale=en-GB)
- [日本語](?locale=ja-JP)
- [中文](?locale=zh-CN)
Don't see your language listed? [Help translate this content!](https://github.com/Pomax/BezierInfo-2/wiki/localize)

View File

@@ -0,0 +1,9 @@
var React = require('react');
var Locale = require("../../../lib/locale");
var locale = new Locale();
var page = "locale-switcher";
module.exports = function(props) {
return <div className="locale-switcher">{ locale.getContent(page, this) }</div>;
};

View File

@@ -0,0 +1,3 @@
module.exports = {
"LocaleSwitcher": require("./LocaleSwitcher")
};