website icon indicating copy to clipboard operation
website copied to clipboard

i18n - RLT languages

Open tdelmas opened this issue 5 years ago • 8 comments

The arrows are in the wrong direction: https://github.com/letsencrypt/website/pull/1010#issuecomment-626889626

image

The margin is wrong in become-a-sponsor: https://github.com/letsencrypt/website/pull/1010#issuecomment-626192535

tdelmas avatar May 17 '20 15:05 tdelmas

Can I add the application screen directionality issue in here or open another one?

yarons avatar May 19 '20 05:05 yarons

A new one would be perfect!

tdelmas avatar May 19 '20 06:05 tdelmas

I have 2 more questions:

  1. When will we see some source string updates on Crowdin?
  2. Is there a way to set the number of certificated issued as global parameter so the users will see the same number in all translations?

yarons avatar May 20 '20 06:05 yarons

  1. When will we see some source string updates on Crowdin?

Ideally I would like to see the import into Crowdin finished (translations and proofreading) before doing anything else there, to avoid complications. But, if needed, maybe I could selectively and carefully update some pages if needed.

  1. Is there a way to set the number of certificated issued as global parameter so the users will see the same number in all translations?

Having some global variables, for that and other things could be a good idea, but we must be careful, it may complicate the translation: some languages are really complicated with numbers, because some not only have singular/plural, but a lot more rules: https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_and_Plurals

Example: image

tdelmas avatar May 20 '20 07:05 tdelmas

Oh yes sorry, completely forgot about that.

How well does Hugo supports i18n and plural forms becuase I haven't found anything in its docs?

yarons avatar May 20 '20 21:05 yarons

They do: https://gohugo.io/content-management/multilingual/#translation-of-strings

tdelmas avatar May 21 '20 06:05 tdelmas

Do you think we should use that for the title or just update whenever the number changes? Because templating this is relatively easy now that I see what you've presented.

We still have some checks to do in order to make sure Crowdin will support that syntax and will allow proper pluralization, otherwise we'll just have to contact support and send them the documents that you sent me in order to support it.

yarons avatar May 21 '20 06:05 yarons

I'll do some tests. But I think the number should not be "live", but the value that the Let's Encrypt team decide (i.e. not me)

tdelmas avatar May 21 '20 10:05 tdelmas