Ticket #283 (accepted enhancement)

Opened 3 years ago

Last modified 4 months ago

Meta bug for translations

Reported by: kovidgoyal Owned by: kovidgoyal
Priority: minor Milestone:
Component: Default Version: trunk
Keywords: translation Cc: kalderm@…

Description (last modified by kovidgoyal) (diff)

Post translation related issues and updated .po files here. See the wiki entry at Development.

Attachments

v004-de-but-en-marked.jpg Download (102.8 KB) - added by stdo 3 years ago.
de.2.po Download (37.0 KB) - added by stdo 3 years ago.
v005 of german translation
de.po Download (37.0 KB) - added by stdo 3 years ago.
v005 of german translation
ca.po Download (36.6 KB) - added by Raül Utrera 3 years ago.
Catalan traslation
Language.tiff Download (146.7 KB) - added by stdo 3 years ago.
Not yet translateable phrases…
ca.2.po Download (39.8 KB) - added by Raül Utrera 3 years ago.
Last catalan update. Fix some errors.
es.po Download (39.6 KB) - added by Raül Utrera 3 years ago.
Spanish traslation
fr.po Download (41.5 KB) - added by FixB 3 years ago.
first try at a french translation. If someone can test it ?
es.2.po Download (45.8 KB) - added by Raül 3 years ago.
Spanish update for 0.4.29 version
ca.3.po Download (46.0 KB) - added by Raül 3 years ago.
Catalan update for 0.4.29 version
1.png Download (49.7 KB) - added by Raül 3 years ago.
Some strings still missing.
2.png Download (9.7 KB) - added by Raül 3 years ago.
more missing strings
fr.2.po Download (44.1 KB) - added by FixB 3 years ago.
French translation for 0.4.29
ca.4.po Download (52.1 KB) - added by Raül 3 years ago.
Last upgrade in catalan
es.3.po Download (52.0 KB) - added by Raül 3 years ago.
Last update in Spanish
fr.3.po Download (59.4 KB) - added by FixB 3 years ago.
compacting.tiff Download (33.8 KB) - added by stdo 2 years ago.
it.po Download (101.7 KB) - added by iacchi 2 years ago.
Italian translation 2008/05/03
bg.po Download (74.6 KB) - added by kovidgoyal 2 years ago.

Change History

comment:1 Changed 3 years ago by kovidgoyal

  • Description modified (diff)

comment:2 Changed 3 years ago by kovidgoyal

  • Status changed from new to assigned

comment:3 Changed 3 years ago by stdo

Hi Kovid,

added a german translation file. version 002. :)

Whats about the "&" e.g. in line 310: msgid "Author So&rt:" Why is there a "&" in the word "Sort"? Or is it a conversion error?

I am not sure for what the & is needed...

I did use poEdit for MacOS -  http://www.poedit.net

comment:4 follow-up: ↓ 7 Changed 3 years ago by kovidgoyal

Thanks. The & is used for keyborad shortcuts in the GUI. In the GUI you see some words with a single letter underlined, that letter acts as shortcut for keyboard access to the related textbox.

I've updated the file in svn, you should be able to see the results in the next release.

comment:5 Changed 3 years ago by anonymous

Kovid,

some phrases are not translated yet. And the translation is not smooth yet. I have to check that in the next release.

Stefan

comment:6 Changed 3 years ago by kovidgoyal

If you have access to a linux system or can run the vmware development environment, you can check the translation from svn, Otherwise, the next version should come out soon, once I figure out a couple of showstopper bugs.

comment:7 in reply to: ↑ 4 Changed 3 years ago by anonymous

Replying to kovidgoyal:

Thanks. The & is used for keyborad shortcuts in the GUI. In the GUI you see some words with a single letter underlined, that letter acts as shortcut for keyboard access to the related textbox.

Not in version 0.4.17 for MacOS - didn't even find one word with underlined letter.

Maybe you can mail me an overview of all keyboard shortcuts - so I can adapt them to german version.

comment:8 Changed 3 years ago by stdo

Oops, forgot to log me in. :)

Replies 5 and 7 - that was me.

So maybe you can send me the shortcuts overview.

Stefan

comment:9 Changed 3 years ago by kovidgoyal

Basically, the & defines the keyboard shortcut. So for example the string:

"Au&thor" would have the shortcut Alt+t. Apparently OS X doesn't believe in keyboard shortcuts. But they do show up on linux and windows. Basically any translation string that comes from a .ui file and has an & in it (except when the & is followed by a space) is a keyboard shortcut.

comment:10 Changed 3 years ago by stdo

99% done in v004.

comment:11 Changed 3 years ago by kovidgoyal

looks good thanks. committed to svn.

Changed 3 years ago by stdo

comment:12 Changed 3 years ago by stdo

Though these marked elements are translated in de.po file, they are shown in english language in version 0.4.19.

See attached image v004-de-but-en-marked.jpg - I marked these elements with red color. :-)

comment:13 Changed 3 years ago by kovidgoyal

oops I forgot to mark some strings for translation. See updated de.po file in svn.

Changed 3 years ago by stdo

v005 of german translation

comment:14 Changed 3 years ago by stdo

de.po file updated.

But we have a problem with german Umlaute: ä, ö, ü, and ß.

See line 67 in de.po:

"Falls die Quelldatei ein Umschlagbild enthÀlt, das Umschlagbild der "

It should be:

"Falls die Quelldatei ein Umschlagbild enthält, das Umschlagbild der "

Maybe it is only a display problem of Trac...

By the way...

...updated de.po

Changed 3 years ago by stdo

v005 of german translation

comment:15 Changed 3 years ago by kovidgoyal

Yeah it a Trac display problem. It looks fine in the file and in the app itself. Incidentally added for more strings to de.po.

comment:16 Changed 3 years ago by stdo

The following phrases are still not available to translate (libprs500 v.0.4.19):

-- Edit metadata individually Edit metadata in bulk -- Send to main memory Send to storage card -- Convert individually Convert in bulk -- Library -- Reader XX MB available -- Card XXX MB available --

You know where to find them...

comment:17 Changed 3 years ago by kovidgoyal

Added in svn

comment:18 Changed 3 years ago by Raül

I made the Catalonian traslation (using po of the v005 german translation). How can I attach it? (sorry I'm new). I'm also working in the Spanish traslation.

Changed 3 years ago by Raül Utrera

Catalan traslation

comment:19 Changed 3 years ago by Raül Utrera.

I found how attach a file :) (silly me, I didn't see it before). Still working in Spanish traslation.

comment:20 Changed 3 years ago by kovidgoyal

Thanks. There were a couple of bugs in the file, which I corrected, so for further work, please use  https://libprs500.kovidgoyal.net/export/805/trunk/src/libprs500/translations/ca.po

Changed 3 years ago by stdo

Not yet translateable phrases...

comment:21 Changed 3 years ago by stdo

There are still some phrases not translateable :-)

See (lower left corner): Not yet translateable phrases...

Changed 3 years ago by Raül Utrera

Last catalan update. Fix some errors.

Changed 3 years ago by Raül Utrera

Spanish traslation

comment:22 in reply to: ↑ description Changed 3 years ago by FixB

Replying to kovidgoyal:

Post translation related issues and updated .po files here. See the wiki entry at Development.

Hi ! I would be willing to give a try at a French translation... If I understand well, I should use an initial file ?

comment:23 Changed 3 years ago by kovidgoyal

@Stdo Updated strings in svn

@Raül Thanks, updated in svn.

@FixB Use the file  https://libprs500.kovidgoyal.net/browser/trunk/src/libprs500/translations/fr.po

as the initial file and attach the updated file with the translations here.

comment:24 Changed 3 years ago by stdo

Hi Kovid,

look at the following part of your instructions:

Specify the base font size in pts. All fonts are rescaled accordingly. This option obsoletes the --font-delta option and takes precendence over it. To use --font-delta, set this to 0.

Shouldn't it be "precedence"?

comment:25 Changed 3 years ago by kovidgoyal

Right you are, thanks.

comment:26 follow-up: ↓ 27 Changed 3 years ago by anonymous

Thanks for the file, I'm working on the translation. I just had two questions : . What do I do of those '&' in some texts ? Should I keep those ? In front of the same letters (sometimes I don't get those letters). Should I keep them, but elsewhere ? Should I just skip the '&' ? Thanks :) . Can you explain me how to test the file ? Where to copy it in order to activate it in libprs500 ?

Thanks !

comment:27 in reply to: ↑ 26 Changed 3 years ago by stdo

Replying to anonymous:

Thanks for the file, I'm working on the translation. I just had two questions : . What do I do of those '&' in some texts ? Should I keep those ? In front of the same letters (sometimes I don't get those letters). Should I keep them, but elsewhere ? Should I just skip the '&' ? Thanks :)

Basically, the & defines the keyboard shortcut. So for example the string:

"Au&thor" would have the shortcut Alt+t.

But that does not work with MacOSX. Works only on Windows and Linux systems.

. Can you explain me how to test the file ? Where to copy it in order to activate it in libprs500 ?

Try to download kovids VM at  https://libprs500.kovidgoyal.net/wiki/Development. There you can update libprs500 via svn and build your on build of libprs500 with your language file for testing.

Thanks !

You are welcome. :)

comment:28 Changed 3 years ago by FixB

Thanks. So I guess some of the shortcuts will need to change in french :) As for testing, I just downloaded the wmvare player as use windows... I'll also try to get used to Eclipse.. Thanks !

Changed 3 years ago by FixB

first try at a french translation. If someone can test it ?

comment:29 Changed 3 years ago by FixB

Using WMvare+eclipse+python that I don't know a thing about, and with a qwerty keyboard on top of it, is too difficult for me. If someone can give a try with the file I attached, it would be very nice :) Thanks !

comment:30 Changed 3 years ago by kovidgoyal

Your translations will be included in the next release.

comment:31 Changed 3 years ago by kovidgoyal

I've added instructions on how to easily test .po files to the wiki. Note that these instructions will only work with the next release of libprs500

comment:32 Changed 3 years ago by FixB

Thanks very much :)

comment:33 Changed 3 years ago by kovidgoyal

version 0.4.29 has a bunch of new strings that should be translated.

Changed 3 years ago by Raül

Spanish update for 0.4.29 version

Changed 3 years ago by Raül

Catalan update for 0.4.29 version

Changed 3 years ago by Raül

Some strings still missing.

Changed 3 years ago by Raül

more missing strings

comment:34 Changed 3 years ago by FixB

I'm sorry, I don't know where to get the new .po file I should fill. Thanks for your help !

comment:36 Changed 3 years ago by FixB

Thanks ! I added the new strings and made a few corrections. There are still strings that appear in english : ERROR : Cannot edit metadata No book selected Choose the format to convert into LRF No help available

Changed 3 years ago by FixB

French translation for 0.4.29

comment:37 Changed 3 years ago by kovidgoyal

Thanks, I've added the other un-translated strings.

comment:38 Changed 3 years ago by Raül Utrera

Your programm is awesome. Thank you very much for your work.

Changed 3 years ago by Raül

Last upgrade in catalan

Changed 3 years ago by Raül

Last update in Spanish

comment:39 Changed 3 years ago by kovidgoyal

Thanks, updated ca and es translations.

comment:41 Changed 3 years ago by kovidgoyal

Heads up on a bunch of new translations needed in svn.

comment:42 Changed 3 years ago by FixB

Thanks, here is a proposition for the french file...

Changed 3 years ago by FixB

comment:43 Changed 3 years ago by stdo

Found a typo:

If the tag you want is not in the available list, you can add it here. Accepts a comma'''n''' separated list of tags.

(line 960)

German updated, but not all done yet. :)

comment:44 Changed 3 years ago by kovidgoyal

Thanks.

comment:45 Changed 2 years ago by stdo

Hi Kovid,

I opened Ticket #557 and assigned it to myself. German users can post there their suggestions for improvement of german translation.

Found a typo again:

Use the <b>Test</b> functionality below to test you regular expression on a few sample filenames.

Found it? :-)

comment:46 Changed 2 years ago by kovidgoyal

That's fine. Thanks for the typo.

comment:47 Changed 2 years ago by stdo

Hi Kovid,

how can I change the language in libprs500 running on your VMware Appliance?

I'd like to check german language file and shortcuts - because with MacOSX there are no shortcuts.

St Do?

comment:48 Changed 2 years ago by kovidgoyal

Launch it with the command

LANG=de libprs500

comment:49 Changed 2 years ago by kalder

  • Cc kalderm@… added

Hi Kovid,

I'd like to start Italian translation, can I use a previous translated .po file (IE es.po or fr.po) or I need a new .po file? Sorry I'm a newbie in this field. Thanks

comment:50 follow-up: ↓ 51 Changed 2 years ago by kovidgoyal

comment:51 in reply to: ↑ 50 ; follow-up: ↓ 53 Changed 2 years ago by iacchi

I've prepared a first italian translation (see attached file).

I've done it quite fast because with release 0.4.45 italian user (at least on linux) see the program partly in Spanish and partly in German.

I apology with kalderm@… since he arrived first asking to translate the program, and I arrived first submitting the translation; maybe because I'm quite used to these things (I altready translate in italian Sunbird and part of Firefox). If he wants, we can cooperate for libprs500 translation, since two brains work better than one. When Kovid will release the italian translation, I'll make a post on my blog (which has become a sort of center for prs italian users)and we can use comments to improve the translation, toegether with other users.

comment:52 Changed 2 years ago by kovidgoyal

Thanks, I've added the translation in svn.

comment:53 in reply to: ↑ 51 ; follow-up: ↓ 54 Changed 2 years ago by kalder

I can only be happy that someone did the most part of the job, I'm not so..dynamic. I'm available to cooperate in translation for what I can do, please note I'm a newbie in this field. Thanks iacchi

Replying to iacchi:

comment:54 in reply to: ↑ 53 Changed 2 years ago by iacchi

As promised, here there are the post on my blog:  http://www.iacchi.org/2008/03/29/libprs500-in-italiano/ Let's use this to discuss about the translation!

comment:55 Changed 2 years ago by iacchi

Having more time, I've done a new and better translation. Pls use that in the future.

comment:56 Changed 2 years ago by kovidgoyal

Updated, thanks.

comment:57 Changed 2 years ago by iacchi

Ehm... another one. Should I delete the old ones as I'm doing now, or should I leave them and attach it2.po, it3.po and so on?

comment:58 Changed 2 years ago by kovidgoyal

If you PM/email me I'll set you up with write access to the svn repo so you can commit changes to it.po whenever you want to.

comment:59 Changed 2 years ago by iacchi

I want to report some strings which have to be made localizables:

  1. All the strings, buttons and tooltips of the windows to add a book or to export it
  2. The OK and Cancel buttons of the windows to convert a book, add a feed and so on
  3. The update message (latest version, etc.)
  4. In the configuration window, the menu items "Normal, Low", etc.
  5. In the book conversion window, the preprocessing types: "no preprocessing, baen", etc. In the same window the word "None" in the embedded font menu

Tomorrow I'll try to look for these strings on the command line scripts.

comment:60 Changed 2 years ago by kovidgoyal

For technical reasons, none of those strings can be translated (basically they all come from the underlying GUI toolkit or operating system). THe only one that can be translated is Latest version. I've added that.

comment:61 Changed 2 years ago by iacchi

It's a pity these strings can't be translated. Anyway, I have some other string for the GUI:
When I said the latest version string, I meant all the string, even the "Current version" (or what it says precisely) part! The last one: in the library view, when you go on a coloumn which is editable, appears a tooltip saying "Double click to edit me" which is not localizable.

Now, the command line scripts.

In epub2lrf these strings are not localizables:

  1. "epub2lrf converts mybook.epub to mybook.lrf"
  2. "Whenever you pass arguments to epub2lrf that have spaces in them, enclose the arguments in quotation marks."
  3. "Options:"
  4. "show program's version number and exit"
  5. "show this help message and exit"
  6. "Specify the character encoding of the source file. If the output LRF file contains strange characters, try changing this option. A common encoding for files from windows computers is cp-1252. Another common choice is utf-8. The default is to try and guess the encoding."
  7. "METADATA OPTIONS:"
  8. "LOOK AND FEEL:"
  9. "Minimum paragraph indent (the indent of the first line of a paragraph) in pts. Default: 0"
  10. "PAGE OPTIONS:"
  11. "LINK PROCESSING OPTIONS:"
  12. "CHAPTER OPTIONS:"
  13. "PREPROCESSING OPTIONS:"
  14. "FONT FAMILIES:"
  15. "DEBUG OPTIONS:"
  16. "Be verbose while processing"
  17. "Convert to LRS"
  18. "Created by"
  19. "No epub file specified"

In rtf-meta nothing is localizable except "Usage"

In mobi2oeb nothing is localizable except "Usage"

In feeds2disk only the "web2disk options" explanetion and the explanetions of the following parameters are localizable: --feeds=FEEDS, --verbose, --title=TITLE, --username=USERNAME, --password=PASSWORD, --recursions=RECURSIONS, --output-dir=OUTPUT_DIR, --no-progress-bar, --debug, --test

In web2disk nothing is localizable except "Usage"

In lrs2lrf nothing is localizable except "Usage"

In lrf-meta these strings are not localizables:

  1. "Show/edit the metadata in an LRF file."
  2. "Options:"
  3. "show program's version number and exit"
  4. "show this help message and exit"
  5. "Created by"
  6. "No lrf file specified"

In lrf2html nothing is localizable except "Usage"

I'll do the others later.

comment:62 Changed 2 years ago by kovidgoyal

Again for technical reasons the section headings like METADATA OPTIONS cannot be translated, but I've added ~75 new strings from the various command line utilities.

comment:63 Changed 2 years ago by iacchi

I'm not sure one of the new strings is correct: "Convert LRS to LRS, useful for debugging."

comment:64 Changed 2 years ago by kovidgoyal

Yeah it's correct :)

Changed 2 years ago by stdo

comment:65 Changed 2 years ago by stdo

Compacting database - string is not translateable yet...

All other strings are done - in de.po :)

comment:66 Changed 2 years ago by kovidgoyal

Added...thanks.

comment:67 Changed 2 years ago by stdo

Found new typo:

Unplug the reader. Wait for it to regenrate the file. Re-connect it and start %(app)s.

You found it, too?

comment:68 Changed 2 years ago by kovidgoyal

thanks fixed.

Changed 2 years ago by iacchi

Italian translation 2008/05/03

comment:69 Changed 2 years ago by iacchi

Italian translation updated

comment:70 Changed 2 years ago by ivan

Hello,

What an amazing program and all in python ! I'd be glad to translate it to bulgarian bg

Could you generate the .po for me?

Ivan

Changed 2 years ago by kovidgoyal

comment:71 Changed 2 years ago by kovidgoyal

Thanks, here you go

comment:72 Changed 2 years ago by kovidgoyal

I've moved the translations to a web based interface, so you can easily add/edit them. The instructions are at  https://calibre.kovidgoyal.net/wiki/Development#Translations

comment:73 Changed 2 years ago by iacchi

Ok, I've registered to launchpad. Can you set me as italian translator? (nick: iacchi) I don't know if you need to do that.

comment:74 Changed 2 years ago by kovidgoyal

No need, since I've set the permissions to open, so you should be able to make changes as it is.

comment:75 Changed 2 years ago by stdo

Hi Kovid,

what is the difference between "German" and "German, Low"?

I translated "German", do I have to Copy and Paste the phrases for "German, Low", too?

comment:76 Changed 2 years ago by kovidgoyal

I have no idea, I'm guessing german should be enough. What I would suggest is you download the de.po file from launchpad and look at it/test it to make sure it is ok.

comment:77 Changed 2 years ago by stdo

Hi kovid, I added the "German, Low" file in launchpad. Could you give me permission to accept these uploaded/changed translations for german language in launchpad. So I can review and accept these changes (almost done only by me) in launchpad...

comment:78 Changed 2 years ago by kovidgoyal

Done.

comment:79 Changed 2 years ago by iacchi

Kovid, can you make a screenshot of whe window where I can find one of the latest string you've added: "dialog"? I'm not so sure how to translate it and I can't find it in the UI. Thanks.

comment:80 Changed 2 years ago by kovidgoyal

Sorry, that string should not be translated, I'll remove it the next time I refresh the translation files. In the meantime, you can translate it however you want.

comment:81 Changed 2 years ago by iacchi

I'd like to know if the translation I make in launchpad is automatically moved to trunk. I've translated some string the day yot released 0.4.55 but they're still in english in 0.4.56

I've just checked and they're still translated on launchpad.

comment:82 Changed 2 years ago by kovidgoyal

No they're not, I sometimes make quick bugfix releases, in which case I dont import the translations.

comment:83 Changed 2 years ago by iacchi

Kovid, there's a thing I can't understand: the string 330 is in it.po:
&Rimuovi formula
and it's quite old (so it should be present in 0.4.62). Nonetheless, in the program dialog the string is:
Rimuo&vi formula
But I can't understand why. I mean: all other strings are updated and correct, why no this one only? Are you sure you've made this shortcut localizable?

comment:84 Changed 2 years ago by kovidgoyal

For some reason the new translation in Launchpad is not overwriting the old translation in the po file. I'll change it manually for the next release.

comment:85 Changed 2 years ago by stdo

Hi kovid,

you did a great job the last month. Translating calibre I found a new typo:

Dont so&rt

You lost the '

comment:86 Changed 2 years ago by kovidgoyal

Thanks, fixed.

comment:87 in reply to: ↑ description Changed 8 months ago by wizardofgas

Replying to kovidgoyal:

Post translation related issues and updated .po files here. See the wiki entry at Development.

Exellent programm, but no russian language. Coud you please add it. Thanks.

comment:88 Changed 8 months ago by kovidgoyal

calibre translations are user contributed, if you want a russian translation, you will have to contribute it :) Instructions are at http://calibre-ebook.com/get-involved

comment:89 Changed 4 months ago by bascorp

Note: See TracTickets for help on using tickets.