-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Mark,
On 11/7/18 5:36 PM, Mark Thomas wrote: > Hi, > > After looking at bug 62843, I got thinking about tools to help > manage translations from contributors. Something that would show > the key, the original value and the translated value side by side. > > I looked at Pootle but that was more run it yourself. My preference > was for something that was hosted. I then looked at POEditor > (poeditor.com) and that seemed to fit the bill. > > It seems that these tools all expect a single file per language (at > leat the two I have looked at so far do) so I wrote some code to > merge the LocalString.properties files into a single file per > language (I prefixed the keys with the package name to ensure they > remained unique). > > Having uploaded these, the tool identified ~20 keys that existed > in translations but not in the original. Hence the handful of > commits this afternoon cleaning those up. > > What we are left with is the following: > > French 18% German 2% Japanese 21% Portuguese 1% Russian > 8% Spanish 42% > > (% is the number of keys translated into that language) > > POEditor offer free unlimited plans for OSI approved licensed > software (that includes Tomcat). > > What I would like to do is announce this on the users list and > invite contributors to start adding translations - potentially for > new languages. > > However, there is a catch. How to get the translations back into > Tomcat? I'll need to write some more code to do this - that isn't > an issue. The issue is that retaining the current comments and > ordering in the translated files would be a LOT of work. It would > be a lot easier if I could just write the keys out in alphabetical > order with each block (determined by the key value up to the first > period) separated by a blank line. Would that be acceptable? > > If it is, I'll clean the English files up by hand so that the > comments are retained for those files. > > WDYT? It's an offline tool, but I've always used Attesoro[1] for this purpose. Completely free with full source code. It handles comments, key-ordering, etc. - -chris [1] https://attesoro.org/ and https://github.com/stephenostermiller/attesoro -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlvjggAACgkQHPApP6U8 pFheDQ/6AwaZg+M9oipgdn0wFpLvpQQLFfGF/jekzw8P5Amhrue808+lR6rvWNqk YX+TFU8Ur0rj7IzFBGLny+pRS8UXELwvpoYF0yrm5lkmquYU/zhVaXSD3YyvBPCN egxq1rigSQV653WpERvVvgECDSuC7uef4CKANwveQTzuLFfToCbBg7Sp1zdhpVGw scF+J/P9wl/MJbIbopuIk21N/gxJvcRuYnX5lfrqr9WPBrN/GSniESisQ62lEvJx dAg+D+1MmqOl4lSI0obpTphhbcsaZrl++GKwhvBSG+jaHTqvmQ6jZHveTGNkFEWD J5nwmRzch2+gLzhDXXxPJLPbd7jP8vWaAsE8I5jdom0oGJOD0gCV2h1RcWMiQL1X WRpisOFzeqtm8xmCdrQEfZqpHiEMEAOSEC43k4vwtQbIO9NPY61m/MEtobDjWnEx SijQeHlS6A65Da+NY64539oXMo+nYMZBWDM3I8Nd64krNqvHU6OsKEZKAsaknK1B YkIREvQXkrDk13WI3oiShfHysug128NuKfgIcVIBHhE5K4UZbCci6CjmNut9zD5I 5HHF/pO8YbitoQKrFQ53NhlnOwRM+HUcs66eRkSZqnhwCsurk5j2y3nocDCSwajQ WzYQtTJED2G2x3hciK+UEOTru3lyvO+hw3iuFhIc16g7z6QoAxE= =67dY -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org