gentics / mesh-ui

Gentics Mesh UI
https://getmesh.io
Apache License 2.0
23 stars 27 forks source link

Added an (simplified)Chinese i18n multilingual support. #278

Closed Yuanuo closed 4 years ago

Yuanuo commented 4 years ago

Hello there,

First of all, thank you very much for sharing such a great project. Really very good.

Recently, I tried to add a Chinese (Simplified Chinese) version to the mesh and mesh-ui i18n. I also tried to share it. If anyone needs it, I hope this will bring you some help.

There are some instructions: 1, based on the git version of 2019-11-09; 2, each i18n property has been translated, no missing one; 3, I have personally checked each one, and probably there should be no problem other than the individual translation (such as "segment field"). 4, of course, if you make some adjustments during the use process, there is no problem. 5, I tried to automatically match the user's display language in mesh-ui, but did not succeed. (I added a similar code to i18n.service.spec.ts, but it is still en by default on the page)

I have tested it locally, and here you can see a display effect diagram:

Firefox-Screenshot-2019-11-09-T09-26-02-493-Z

CLAassistant commented 4 years ago

CLA assistant check
All committers have signed the CLA.

Jotschi commented 4 years ago

@Yuanuo Thanks for the pull request. Can you sign the CLA? Other wise we can't merge the PR.