Hier findet Ihr Tipps und Trick rund um Gary´s Cookbook und allgemeine Joomlafragen.

EN Short Guide to GKB 3.X.x Languages

More
16 years 8 months ago - 16 years 7 months ago #2037 by over
Short Guide to GKB 3.X.x and Module Language-Installation, Language-File editing and Language-File translation.

1. Language-Installation / Update
2. Language-File editing
3. Language-File translation.

1. Language Installation after the first Joomla- and/or Cookbook Installation / Realeaseupdates
1.1 If not yet done, install your preferred Joomla Languages.

You will find Language-Installation-Files on the Site of your local Joomla-Comunity. (e.g. www.joomlaos.de ** german)

Download and open the Language-Installation-Packages in the Joomla-Administration (Backend), Extensions -> Install/Uninstall and run it.

1.2 Install extra Language to Gary's Cookbook 3.X.x after the main Installation.

If you look for Language-Installation-Packages, have a look in the Language Forum of vb-dozent.net. Download and open the
Language-Installation-Packages in the Joomla-Administration (Backend), Extensions -> Install/Uninstall and run it.

If no Installation-Packages are available you may find the Language as an .ini-file. As packed file in the Forum or in the Cookbook Installation Package. Then you have to extract the Language-Files from your downloaded ZIP-File. In the Cookbook Installation Package you will find some languages in the directory languages/admin for the Administration Pages and in the directory languages/site for the Frontpages of Gary's Cookbook.
Be carefull to keep the Files apart when extracting them. They have the same name!

Upload them to the Joomla-Language-Directories of your Server.
Something like ..../joomla/administrator/language/xx-XX/ for the Administrator-Languages
and ..../joomla/language/xx-XX/ for the Frontpage-Languages.

Done!

1.3 Update Languages not included in the Installation-Package after new Release Installation.

The easiest way is if you find Language-Installation-Packages. Then you only have to delete the Component / Module Language-File (.ini) from the Joomla-Language-Directories. Download the Language-Packages and open them in the Joomla-Administration (Backend), Extensions -> Install/Uninstall and run it. Otherwise follow the Instructions above.
Also have a look in the Theme: EN Upgrade to new Version of Garys Cookbook 3.X.x.

2. Language-File editing

If you want to change some entries in a Language-File. Login to the Administration-Pages with this Language choosen.
(i.e. you have to have activated the available Languages in both Administration- and Frontend. I hope this will be solved later.)

Open the Component in the Joomla-Administration (Backend), Components -> Gary's Cookbook. Choose to edit the Backend or the Frontend Language. Make your changes and save.

3. Language-File Translation for Garys Cookbook 3.X.x

More info on this Joomla-Link: http://dev.joomla.org/content/view/43/67/

Download the german Language-Installation-Files from the Language Forum at vb-dozent.net and extract the .ini files or
Extract one admin- and one site-Language-File from your downloaded Cookbook-Installation-ZIP-File. In the directory languages/admin you'll find the available Languages for the Administration Pages and in the directory languages/site you'll find the Languages for the Frontpages of Gary's Cookbook. The best choise is to use the german Files. They are mostly most up-to-date. (de-DE.com_garyscookbook.ini). Of course you may use another Language as a start if more understandable! You'll find the english Translations in the Cookbook-Installation-ZIP-File. Be carefull to keep the Files apart when extracting them. They have the same Name! Save the Files with new names depending on Language. (xx-XX.com_garyscookbook.ini). Have a look in the Joomla Language Directory to find the Language Codes. How to find the Joomla Language Directory is described a few lines downwards.

Open the Files with your Editor. !!! Info on Editors in Theme: EN Short Guide to installation GCB 3.X.x!!!

Change the Language Informations and the date in the first line.

# $Id: de-DE.com_garyscookbook.ini 8580 2007-12-15 11:31:18Z Joomla! German" $

If you like, add a line after the note-line with the name of the translator.
(# Translation : Billy the Kidd)
Change the Texts to the right of = . When done save the Files.

!!!Be sure to save the Files in UTF-8!!!

Then you may upload the Files to your Joomla-Server. Upload them to the Joomla-Language-Directories of your Server.
Something like ..../joomla/administrator/language/xx-XX/ for the Administrator-Languages
and ..../joomla/language/xx-XX/ for the Frontpage-Languages.

3.1 It would be of great help, if you also create Installation-Files for the Language you've translated.
With this help I think it's easy done.

3.1.1 Template Backend (Admin) Texts

<?xml version="1.0" encoding="UTF-8" ?>
<install type="language" version="3.0" client="administrator">
<name>Deutsch für Garys Cookbook(Germany)</name>
<tag>de-DE</tag>
<version>3.0</version>
<creationDate>2008-04-07</creationDate>
<author>Garys Cookbook</author>
<authorEmail>gerald@vb-dozent.net
<description>Deutsches Sprachpaket für Garys Cookbook (Admin)</description>
<files>
<file>de-DE.com_garyscookbook.ini</file>
</files>

3.1.2. Template Frontend (Site) Texts
<?xml version="1.0" encoding="UTF-8" ?>
<install type="language" version="3.0" client="site">
<name>Deutsch für Garys Cookbook(Germany)</name>
<tag>de-DE</tag>
<version>3.0</version>
<creationDate>2008-04-07</creationDate>
<author>Garys Cookbook</author>
<authorEmail>gerald@vb-dozent.net
<description>Deutsches Sprachpaket für Garys Cookbook (Site)</description>
<files>
<file>de-DE.com_garyscookbook.ini</file>
</files>
</install>

3.1.3 Create Language-Installation-Package

For the Module to Garys Cookbook use the Frontend (Site) Template!

Create a Textfile with your Editor. !!! Info on Editors in Theme: EN Short Guide to installation GCB 3.X.x!!!
Copy one of the Templates (Backend or Frontend) above to the new Textfile.
Replace de-DE with your Language-codes and change those Lines:

<name>Deutsch für Garys Cookbook(Germany)</name>
<creationDate>2008-04-07</creationDate>
<description>Deutsches Sprachpaket für Garys Cookbook (Site)</description> // (Admin)

Save the file as install.xml. Be sure to save in UTF-8 Format.

Pack the install.ini file and your translated xx-YY.com_garyscookbook.ini file into a .zip file named xx-YY_com_garyscookbook_3ZZ_admin.zip for Backend translation and xx-YY_com_garyscookbook_3ZZ_site.zip for Frontend. Where xx-YY is your language Code and ZZ the Cookbook Versionnumber.

Then please upload your new Language-Installation Files to the Language Forum at vb-dozent.net

If there are new Releases of the Cookbook or the Module please have a look in the Language Forum / Introduction/Einführung to find out about additions and/or changes in the Languagefiles. Then please change your Translations and post them new to the Language Forum.

Many Thanks for your help!
Last edit: 16 years 7 months ago by .

Please Log in to join the conversation.

Moderators: Merling
Time to create page: 0.133 seconds