Zen Cart Logo
Forums / Addon Language Packs / German Language Pack for ZC version 1.5.x

German Language Pack for ZC version 1.5.x

Views: 41,082

Results 21 to 40 of 58
14 Dec 2014, 1:55 AM
#21
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

German Language Pack for ZC version 1.5.x

The new pack is now available for download from http://www.zen-cart.com/downloads.php?do=file&id=205

Found a bug in the header of the file German Language Pack for ZC 1-5-3/admin/includes/languages/german/product.php causing suppression of all product detail definitions in the admin

Change this

* @edited and adapted for ZC v1.5.3 2014-12-07 02:43:30Z frank18 - www.isonetwork.net.au $ 
 
define('HEADING_TITLE', 'Kategorien / Artikel');

to this

 * @edited and adapted for ZC v1.5.3 2014-12-07 02:43:30Z frank18 - www.isonetwork.net.au $ 
*/ 
define('HEADING_TITLE', 'Kategorien / Artikel');

My apologies for this bug, probably caused by a copy/paste error.

Cheers / Frank

22 May 2016, 2:45 PM
#22
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: German Language Pack for ZC version 1.5.x

Submitted an update to this pack today.

The update reflects all the changes up to ZC version 1.5.5a.

There are numerous changes / additions / deletions in the admin section. The catalog files have been updated to reflect language files in the new Responsive Classic template.
**
This update should not be used for ZC versions 1.5.4 and below!**

Cheers / Frank

26 May 2016, 8:16 AM
#23
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: German Language Pack for ZC version 1.5.x

frank18:

Submitted an update to this pack today.

The update reflects all the changes up to ZC version 1.5.5a.

There are numerous changes / additions / deletions in the admin section. The catalog files have been updated to reflect language files in the new Responsive Classic template.
**
This update should not be used for ZC versions 1.5.4 and below!**

Cheers / Frank

The update is now available at https://www.zen-cart.com/downloads.php?do=file&id=205

This latest update v1.5.5 (dated 2016-05-23 AEST) includes all changes relevant up to Zen Cart version 1.5.5 .

CATALOG:

  • Minor additions, changes and corrections to language files in the catalog to reflect changes/additions found in Zen Cart version 1.5.5 .
  • Added files pertinent to the new Responsive Classic template (implemented in ZC 1.5.5).

ADMIN:

  • Numerous new/modified language files have been added/edited to the admin section to reflect changes/additions found in Zen Cart version 1.5.5 .

Cheers / Frank

13 Feb 2019, 11:33 AM
#24
dustie avatar

dustie

Zen Follower

Join Date:
Nov 2010
Posts:
159
Plugin Contributions:
0

Re: German Language Pack for ZC version 1.5.x

Hi Frank

Really appreciate the German Language packs you do.

Question, will the v1.5.6 be out soon? We have installed the newest version, but sadly a few areas don't work in the German section. We installed the v.1.5.5, but this does not cover all the changes.

Thanks

13 Jul 2020, 3:12 PM
#25
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: German Language Pack for ZC version 1.5.x

Am doing a clean install of 1.5.7 and ran into a problem.

Is this German language plugin plugin compatible with 1.5.7? I assume so as there are no php errors in my logs.

If so
I did ftp all the files into my test site.
The localization was already set in my DB but I got the message "MISSING LANGUAGE FILES OR DIRECTORIES ... German german".

Is it usual to have the word German twice?

I tried deleting the localisation in my DB and reset it in Admin config but still get this same error message.

The path in my Admin config is "https://catalogtest.simmar.ch/CatalogTest/includes/languages/german".

If I look at the properties of my "german" folder in my test site I see "/httpdocs/CatalogTest/includes/languages/german"

The icon gif does not show up in my Admin config.

Hope you have an idea
[Attachment no longer available]

15 Jul 2020, 3:29 PM
#26
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: German Language Pack for ZC version 1.5.x

On further testing if I disable the language check in "configurationValidation.php" (lines 19 to 22) then everything in the Admin page shows up in German language.

17 Jul 2020, 10:19 AM
#27
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
507
Plugin Contributions:
1

Re: German Language Pack for ZC version 1.5.x

marton_1:

The localization was already set in my DB but I got the message "MISSING LANGUAGE FILES OR DIRECTORIES ... German german".

Is it usual to have the word German twice?

[Attachment no longer available]
The First German is the language name the second german is the folder in which the files reside.

This usually occurs because of missing language files in the admin area. I'll test it on my server and see if I can shed any light.

17 Jul 2020, 12:24 PM
#28
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
507
Plugin Contributions:
1

Re: German Language Pack for ZC version 1.5.x

I have had a further look. It looks like you are missing the configurationValidation.php. you can copy this from YOURSITE/YOURADMIN/includes/languages/english
Additionally you have a lot of missing definition.

You probably need to follow the how to upgrade a language pack in the zen cart documentation https://docs.zen-cart.com/dev/languages/creating_a_language_pack/#updating-an-older-translation

Let me know how you get on and if I need to make any changes to the documentation.

17 Jul 2020, 8:30 PM
#30
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: German Language Pack for ZC version 1.5.x

Thanks for your input.

18 Jul 2020, 7:45 AM
#31
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: German Language Pack for ZC version 1.5.x

brittainmark:

I have had a further look. It looks like you are missing the configurationValidation.php. you can copy this from YOURSITE/YOURADMIN/includes/languages/english
Additionally you have a lot of missing definition.

You probably need to follow the how to upgrade a language pack in the zen cart documentation https://docs.zen-cart.com/dev/languages/creating_a_language_pack/#updating-an-older-translation

Let me know how you get on and if I need to make any changes to the documentation.

I do have configurationValidation.php, it is here zencart157a\catalog\ADMIN\includes\classes.

I have now set up another test site using xampp, I now see this log message.

[18-Jul-2020 03:40:36 Europe/Berlin] Request URI: /zencart157a/catalog/ADMIN/login.php, IP address: ::1
#1  require_once(C:\xampp73a\htdocs\zencart157a\catalog\ADMIN\includes\init_includes\init_templates.php) called at [C:\xampp73a\htdocs\zencart157a\catalog\includes\autoload_func.php:37]
#2  require(C:\xampp73a\htdocs\zencart157a\catalog\includes\autoload_func.php) called at [C:\xampp73a\htdocs\zencart157a\catalog\ADMIN\includes\application_top.php:37]
#3  require(C:\xampp73a\htdocs\zencart157a\catalog\ADMIN\includes\application_top.php) called at [C:\xampp73a\htdocs\zencart157a\catalog\ADMIN\login.php:8]
--> PHP Warning: Use of undefined constant TEXT_ADMIN_TAB_PREFIX - assumed 'TEXT_ADMIN_TAB_PREFIX' (this will throw an Error in a future version of PHP) in C:\xampp73a\htdocs\zencart157a\catalog\ADMIN\includes\init_includes\init_templates.php on line 45.

[18-Jul-2020 03:40:36 Europe/Berlin] Request URI: /zencart157a/catalog/ADMIN/login.php, IP address: ::1
#1  require_once() called at [C:\xampp73a\htdocs\zencart157a\catalog\ADMIN\includes\classes\configurationValidation.php:21]
#2  configurationValidation->__construct() called at [C:\xampp73a\htdocs\zencart157a\catalog\includes\autoload_func.php:44]
#3  require(C:\xampp73a\htdocs\ADMIN\catalog\includes\autoload_func.php) called at [C:\xampp73a\htdocs\zencart157a\catalog\ADMIN\includes\application_top.php:37]
#4  require(C:\xampp73a\htdocs\zencart157a\catalog\ADMIN\includes\application_top.php) called at [C:\xampp73a\htdocs\zencart157a\catalog\ADMIN\login.php:8]
--> PHP Warning: require_once(includes/languages/german/configuration_validation.php): failed to open stream: No such file or directory in C:\xampp73a\htdocs\zencart157a\catalog\ADMIN\includes\classes\configurationValidation.php on line 21.

[18-Jul-2020 03:40:36 Europe/Berlin] PHP Fatal error:  require_once(): Failed opening required 'includes/languages/german/configuration_validation.php' (include_path='C:\xampp73a\php\PEAR') in C:\xampp73a\htdocs\zencart157a\catalog\ADMIN\includes\classes\configurationValidation.php on line 21

I assume "TEXT_ADMIN_TAB_PREFIX " warning is a PHP7.3 compatibility error which implies the german language pack is not 7.3 compliant since it only claims support of RC155 then that is likely.
A warning is not good but not a fatal error though.

20 Jul 2020, 1:09 PM
#32
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: German Language Pack for ZC version 1.5.x

Saga continues :)

I really only need my storefront in German language, I can live with the admin pages in English.

I found that if I just load the "includes/languages/german...." into my test site and not the "admin/includes/lang...." then I can manually switch my storefront to German language and it seems to show German OK. I need to do more thorough testing to see if everything works.

I got the inspiration from a support thread that mentioned a language pack that did not have the admin part.

26 Jul 2020, 5:45 PM
#33
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
507
Plugin Contributions:
1

Re: German Language Pack for ZC version 1.5.x

Sorry been away just seen your posts.

Your error ```
Use of undefined constant TEXT_ADMIN_TAB_PREFIX - assumed 'TEXT_ADMIN_TAB_PREFIX'


Failed opening required 'includes/languages/german/configuration_validation.php'

Means that the file is missing or the permissions on it are set so that it cannot be read. Are you sure you have the file in the correct location. When I downloaded the language pack it was not there. If it is missing just copy includes/languages/english/configuration_validation.php to the german directory
28 Jul 2020, 9:25 AM
#34
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: German Language Pack for ZC version 1.5.x

brittainmark:

Sorry been away just seen your posts.

Your error ```
Use of undefined constant TEXT_ADMIN_TAB_PREFIX - assumed 'TEXT_ADMIN_TAB_PREFIX'

> 
>  ```
Failed opening required 'includes/languages/german/configuration_validation.php'

Means that the file is missing or the permissions on it are set so that it cannot be read. Are you sure you have the file in the correct location. When I downloaded the language pack it was not there. If it is missing just copy includes/languages/english/configuration_validation.php to the german directory

Thanks for your help.
Hope you had a good trip.

1 Aug 2020, 9:52 AM
#35
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: German Language Pack for ZC version 1.5.x

German language pack now working fine in 157, both admin and storefront, on my Unix test site.
Thanks

2 Aug 2020, 8:29 AM
#36
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
507
Plugin Contributions:
1

Re: German Language Pack for ZC version 1.5.x

marton_1:

German language pack now working fine in 157, both admin and storefront, on my Unix test site.
Thanks
Could you document what you did to get it working or post and updated version.
Thanks

4 Aug 2020, 7:19 AM
#37
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: German Language Pack for ZC version 1.5.x

brittainmark:

Could you document what you did to get it working or post and updated version.
Thanks

Long story, mostly finger trouble!

I had not copied all the English files in Admin across to the German side but the consequent problems did not show up in my zen cart log, they do now?
I created a CUSTOM template using the instructions in zen cart here but it seems these instructions are out of date and the template does not work correctly if it was based on responsive classic template, see thread here.

My updates to catalog\includes\languages/german and catalog\myAdmin\includes\languages/german were not 100% correct, I am working on this and will post when happy with the result.
Do you happen to know a good way to update foreign language files? Winmerge is no use; if you compare the latest English with old German it just says to change everything.
At the moment I go to Github here then click on "files changed", search for "english" then click on "load diff" then work through the - and + signs.
This is a slow, error prone and tedious process.
Before I had just compared the latest english on one screen with the older german on another screen but then it is too easy to miss small changes in existing defines.

4 Aug 2020, 7:56 AM
#38
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: German Language Pack for ZC version 1.5.x

Forgot to say I also had an old file German bmz_language_admin.php hanging around from a deleted version of Image Handler 4 that I had to delete to get 1.5.7 working properly.

4 Aug 2020, 9:03 PM
#39
brittainmark avatar

brittainmark

Totally Zenned

Join Date:
Apr 2009
Posts:
507
Plugin Contributions:
1

Re: German Language Pack for ZC version 1.5.x

The suggested method is to compare the English version of the files to see hat has changed. Then you can add/remove or change the German as necessary.
See https://docs.zen-cart.com/dev/languages/updating_older_translation/
You can use git hub to compare the versions, I use eclipse ide, but there are many packages our there. The key is not trying to compare the German with the English.

4 Aug 2020, 9:40 PM
#40
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: German Language Pack for ZC version 1.5.x

brittainmark:

The suggested method is to compare the English version of the files to see hat has changed. Then you can add/remove or change the German as necessary.
See https://docs.zen-cart.com/dev/languages/updating_older_translation/
You can use git hub to compare the versions, I use eclipse ide, but there are many packages our there. The key is not trying to compare the German with the English.

Thanks :)