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
1.
java's properties
2.
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 )
3.
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
1.
crowdin upload source
2.
crowdin upload translations -l zh-TW
-
Translate, proofread on Crowdin
-
Using Crowdin CLI download translated string
1.
crowdin download -l zh-TW
-
Convert properties to ISO-8859-1
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.