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
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="" />
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
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
Hi,
thank your for the fix. Works perfect.
Kind regards
Wolfgang
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
Hi pankost,
can you post the authors page url?
http://logothiki.web.auth.gr/
Hi Federica,
I made many tests
after the rename of the files the component is very unstable.
one moment is shows the book form ok and in the other moment is says
Page Not Found
The page you are looking for could have been deleted or never have existed*
I believe we must wait the next version to use it
Ok, I will release the new version as soon as possible.
ok we thank you
in the How to fix the category tree trouble subject
we change the $options[$i]->value = 1; and it is ok we can save a new category with no parent.
then we save some books with a category
everything is ok and the books appears ok in the site
now I go to make a new category
then in some of my books I want to change the category.
after the change of the category in a book the component fails.
in the book form it says the message
Page Not Found
The page you are looking for could have been deleted or never have existed*
I tryed it without the installation of my language package
the same.
they are 2 different problems
a.the category tree trouble with new save,and change the book, fails
b.the language package doesnt play the Alphabetical pagination
I hope Im not bothering you
best wishes for your life and for your work
pankost,
this topic is named "Translation to German language", your questions are not inherent to it. Please post your questions to the related topics. If you cannot find a similar tread then create a new topic.
ok
you are right