[GitHub] [tomcat] markt-asf commented on issue #189: Additional translations of Chinese

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [tomcat] markt-asf commented on issue #189: Additional translations of Chinese

GitBox
markt-asf commented on issue #189: Additional translations of Chinese
URL: https://github.com/apache/tomcat/pull/189#issuecomment-521162534
 
 
   I'm all in favour of expanding the i18n support in Tomcat and I agree adding Chinese translations to 8.5.x is a good next step.
   
   If you aren't already aware, Tomcat uses [POEditor](https://poeditor.com/projects/view?id=221603) to manage translations for 9.0.x and then back-ports changes to earlier versions.
   
   I think there it should be possible to add significantly more Chinese translations than proposed in this PR and to do so in a semi-automated fashion that supports additional languages.
   
   There are probably several different ways of doing this. My first idea is to use the utilities in org.apache.tomcat.buildutil.translate as a starting point, and write some code to support the following:
   
   - For every key in 9.0.x, if the key exists in 8.5.x replace the 8.5.x English text with the 9.0.x version
   - Manually review the diff and revert any changes that don't look right
   - For every key in 9.0.x, if the key exists in 8.5.x and the English text is the same in both versions, copy the text for all other languages supported by 8.5.x from 9.0.x to 8.5.x.
   - Repeat for 8.5.x and 7.0.x
   
   Suggests to improve the process and/or patches to implement it welcome.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[hidden email]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]