View Single Post
Old 10-26-2020, 03:22 PM   #684
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,999
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Attached

2020-10-26
- Translation enabling code changes
- Translations for French & Spanish

@dunhill popped up in my PMs with a (mostly) translatable enabled version of GC, along with a couple (partial) translations:

Frances by un_pogaz
Spanish by Dunhill

Unfortunately, Dunhill's version didn't get all the translatable strings. I had to add or fix ~1/3 of the total, so the fr & es versions dunhill gave me are incomplete.

A few important notes:
  1. Unlike my own plugins, this is *not* in Transifex. The 'default.pot' file and translation .po files is in GitHub only. Ideally, translation contributors will submit their .po files by GitHub Pull Request, same as code contributions.
  2. The Field Order settings are not translated. They are the same as the saved values, so translating them will break existing settings for translation users without a lot more work. It's certain possible, but I don't have the energy right now.

You can use the CALIBRE_OVERRIDE_LANG environment var to test different languages. I use the fake language 'zz' for testing translation code. (Google it if you need help with CALIBRE_OVERRIDE_LANG. )

Last edited by JimmXinu; 10-28-2020 at 11:06 AM. Reason: Remove obsolete test version
JimmXinu is offline   Reply With Quote