mahmoud / calver

📅 The web's go-to resource for Calendar Versioning info.
https://calver.org
Other
489 stars 32 forks source link

Add internationalization support #26

Closed networm closed 4 years ago

networm commented 4 years ago

I think it's better to have multiple languages translated. I just browse the folder structure and found nothing about internationalization. So could you add support for it?

I could translate it to Chinese Simplified.

mahmoud commented 4 years ago

Oooh, hen lihai! So, we could just add a zhongwen.md or something, and just translate the overview. Would that work?

networm commented 4 years ago

It would not work because there are three pages need to be translated. about.md overview.md users.md I think it’s better that one folder per language. And the generator need to support this and show a language menu or something similar. For example you could take a look at https://semver.org

networm commented 4 years ago

Maybe Hugo is a choice for generating pages. It has template support and 1password official website is powered by Hugo.

mahmoud commented 4 years ago

I've seen the semver page more times than I care to recount. In my experience it's far from perfect; the Farsi localization is rendered in Arabic, for instance.

The about page is not really critical, and there's very little material text on the "Users" page, mostly numbers and links. Easy to add "中文" to the navigation.

I think it'd be best to focus on content, and rearchitect once the number of translations proves to be unwieldy.

As far as content, I wouldn't worry about fully translating all the case studies, etc., we can start smaller. Maybe:

That should help narrow the scope and get us something usable faster.

networm commented 4 years ago

Ok, I will translate it to Chinese Simplified recently.

mahmoud commented 4 years ago

@networm any updates? hope all's well!

networm commented 4 years ago

Sorry for no updates, I have been too busy these days. I will translate it soon.