ashmaroli / jekyll-locale

A localization plugin for Jekyll
MIT License
19 stars 5 forks source link

Date locale data structure #17

Open guoyunhe opened 4 years ago

guoyunhe commented 4 years ago

Thanks for making this plugin!

I saw the date localization use the following format:

date:
  day_names:
    - Sunday
    - Monday
    - Tuesday
    - ...

But online translation systems don't support arrays. It would be better to have the following data structure supported:

date:
  day_names:
    sun: Sunday
    mon: Monday
    tue: Tuesday
    ...
ashmaroli commented 4 years ago

Nice to know that you're using this plugin. Are you using the released version or the unreleased master branch?

But online translation systems don't support arrays

Would you be able to post some links to such systems or documentation so that I get a clear idea..?

guoyunhe commented 4 years ago

Hi, I am using the released version of the plugin.

The system we are using is Weblate. Its YAML support information is here.

guoyunhe commented 4 years ago

Hi, I asked the developer of Weblate. They said arrays are supported but the document didn't mention it.

I need to test it out by myself.

Not sure about other systems, like Transifex, Crowdin.