Translation to German language

Started by wak_2000, 17 January 2015, 19:24:41

Previous topic - Next topic
A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

wak_2000

Hello,

first of all: Thank you for this awesome library component   :D. It's for more then 3 years that I'm using it extensivly for my personal book collection which today has +/-2700 items.

Since I'm austrian, so nativly speeking german, I thought it would be a good idea to translate the component into this language according the advice on the page (http://alexandriabooklibrary.org/en/how-to/19-how-to-translate-abook-to-your-language.html).

I did all the translation stuff in the ini-files and the zipping and the installation process in joomla works great, but there are no representations of the translated strings on the website, neither in admin nor in frontend view. It remains in english. I attached the zipped files just in case someone has an idea where I went wrong.
Some params of my system:

Joomla: 3.3.6
Alexandria: 3.1.0
OS: Fedora 20
Apache
PHP 5.5.20
Cache deactivated
MySQLi 5.5.40-MariaDB
Joomla-Site-Language: German (de-DE)

I also found a strange behavior of the item Books in the admin view of Alexandria. There's  a column called Cover where there should be a preview of the bookcover i guess, but there's only a tiny little blank rectangle. In the "Book Manager: Edit book" page the image is diplayed correctly. So the path is well formed there.
I think the path in the "Book Manager" main view is not correctly referenced. (see atteched PDF)

Best regards

Wolfgang

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

federica

Hi Wolfgang,
many thanks for your contribution!!! Can you send me the zip file?

Quote from: wak_2000 on 17 January 2015, 19:24:41
I also found a strange behavior of the item Books in the admin view of Alexandria......

There is a little bug, but you can fix it yourself.
Modify the file administrator/components/com_abook/views/books/tmpl/default.php line 185

from:
<img class="img-polaroid hasTip" title="" src="<?php echo $item->image!='' '/' .$item->image "/components/com_abook/assets/images/nocover.png"?>" border="0" style="max-height:80px;min-width:24px;" alt="" />
to:
<img class="img-polaroid hasTip" title="" src="<?php echo $item->image!='' JURI::root() .$item->image "/components/com_abook/assets/images/nocover.png"?>" border="0" style="max-height:80px;min-width:24px;" alt="" />
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]

wak_2000

Hi Federica,

thank you for your reply and the bugfix. Works perfectly!  :)

I attach the ZIP file containing the translations mentioned above.

Best regards

Wolfgang

federica

Your translation package works fine, but there is a little bug so the language is not displayed. To fix it you have to rename some files:
language/en-GB/en-GB.com_abook.ini to language/en-GB/en-GB.com_abook.ini.old
administrator/language/en-GB/en-GB.com_abook.ini to administrator/language/en-GB/en-GB.com_abook.ini.old
administrator/language/en-GB/en-GB.com_abook.sys.ini to administrator/language/en-GB/en-GB.com_abook.sys.ini.old

I will fix the bug in the next version
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

wak_2000

Hi,

thank your for the fix. Works perfect.

Kind regards

Wolfgang

pankost

Hi Federica
I had the same problem with the greek language and I followed your instructions.
it fixed the problem with the language in the site and in the admin but the Alphabetical pagination
doesnt work.every letter I hit they all show all authors.

Best regards
panagiotis

federica

Hi pankost,
can you post the authors page url?
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]