That sounds like a great idea. I don't know anything about this space,
nor the current state of jenkins translations.

 Are you thinking this would just be for core or plugins as well?

> Translator's contribution will not show in git history

is this because it should be pulling down data as an automated step?

Gavin

On Wed, Mar 2, 2022 at 10:02 AM Kevin Chiu <[email protected]> wrote:
>
> Hello everyone,
> Is it possible that we can have official integration with translating 
> platforms like Weblate or Crowdin?
>
>
> I think it's more easier for translators, reviewers working with translating 
> platforms, especially those who aren't familiar with JAVA dev environment.
>
>
> Pros:
>
> Easy to proofread (ISO-8859-1...)
>
> Glossary hint
>
> Reset translation when source string changed
>
> New strings notify
>
> Cons:
>
> Crowdin treat MIT license comments as part of key for first string, remove 
> comments will lost some translator's info
>
> Translator's contribution will not show in git history
>
>
> I'm testing on Crowdin and here are my steps. I think they will be helpful to 
> other translators.(I tested on Crowdin but I think it will be similar to any  
> platforms)
>
> Prepare source string
>
> java's properties
>
> jelly/groovy's properties
> some jelly file don't have English properties file,English string stay in 
> jelly file.
>
> Fill missing strings by
> perl .\translation-tool.pl --lang=zh_TW --add
>
> merge English, zh_TW to a new en_US properties file.(If key from zh_TW not 
> show up in English then use the key as key and value )
>
> HTML:
> Crowdin will split HTML to entries, there are some translated strings missing 
> because of different HTML markup structures.
> I think it is better to treat HTML as plain text, but it looks like that's a 
> Pro feature on Crowdin.
>
> Using Crowdin CLI upload source and translated string
>
> crowdin upload source
>
> crowdin upload translations -l zh-TW
>
> Translate, proofread on Crowdin
>
> Using Crowdin CLI download translated string
>
> crowdin download -l zh-TW
>
> Convert properties to ISO-8859-1
>
> I didn't find an option to convert them when downloading from Crowdin. So I 
> convert manually with the native2ascii plugin in VSCode.
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/b8bb4cf3-e23c-4834-846a-2e470db5e8b3n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAG%3D_DuvZrarvGuqVBYEVP2JEm9TskT_4DBUUaffTDiPMzf5-_w%40mail.gmail.com.

Reply via email to