Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ktoso/props2xls
An simple app to convert Java i18n property files (also used in GWT) to an online Spreadsheet - on Google Docs. :-)
https://github.com/ktoso/props2xls
Last synced: 29 days ago
JSON representation
An simple app to convert Java i18n property files (also used in GWT) to an online Spreadsheet - on Google Docs. :-)
- Host: GitHub
- URL: https://github.com/ktoso/props2xls
- Owner: ktoso
- Created: 2010-09-12T00:49:16.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-09-13T23:42:22.000Z (over 14 years ago)
- Last Synced: 2024-12-07T01:44:20.709Z (about 1 month ago)
- Language: Java
- Homepage: http://blog.project13.pl
- Size: 10.6 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
video of the app in action: http://www.youtube.com/watch?v=RneIPxq9qLs
As I've been recently given a task to "copy & paste" all our properties into an specyfic document on google docs - that the client wanted to use in order to translate these properties into other languages. Of course I decided not to do this by hand - but script it - and that's how props2xls came to be.
It's an Groovy + Java app that traverses an directory searching for *.properties files, and then matches their names together - and extracts their Locale from the filenames. Next, those strings are uploaded into an specified Google Spreadsheet. You can use any google account + password anc choose which spreadsheet/worksheet should be filled out with your data.
Note that the bottleneck here is the inserting into the Spreadsheet. This can be very much improved as one may use Batch inserts.
PS: One might call it an proof-of-concent, as the code is quite ugly but it was written in about 3-4hours. And will probably spare us a lot of time if some client wants to translate our properties once again... ;-)