Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33
  1. #1
    Join Date
    Jun 2008
    Location
    Japan
    Posts
    114
    Plugin Contributions
    5

    Default V158 Japanese language pack

    Hello everybody,

    I have just made a Japanese language pack and it has been released in the plugin section:(日本語のv1.5.8言語パックをリリースしました!)
    https://www.zen-cart.com/downloads.php?do=file&id=2359
    This is an heavy modification of Zen Cart v 1.5.8 (only) but after installing it you should be able to use Japanese in your shop and have name with furigana and addresses properly formated and it includes Japanese shipping modules too for Yamato, Sagawa and Japanese Post.

    There are still two 'things to do':
    First I plan to make a Japanese version of the Readme explanation file. As I am not so good at explaining in Japanese I will appreciate some help/correction from native speaker.
    Secondly I want to optimize calculation algorythms for parcel size. This is more on the long term for this one.

    Please if you try/use it I will appreciate any feedback.
    And don't hesitate if you have any questions.
    Thanks! 宜しくお願いします。

  2. #2
    Join Date
    Apr 2009
    Posts
    416
    Plugin Contributions
    2

    Default Re: V158 Japanese language pack

    Hi @pilou2, we are having a discussion about language packs and wondered if you new pack uses UTF8 character set.
    Mark Brittain
    http:\\innerlightcrystals.co.uk\sales\

  3. #3
    Join Date
    Jun 2008
    Location
    Japan
    Posts
    114
    Plugin Contributions
    5

    Default Re: V158 Japanese language pack

    Quote Originally Posted by brittainmark View Post
    Hi @pilou2, we are having a discussion about language packs and wondered if you new pack uses UTF8 character set.
    Yes charset is set to utf-8 in language files and files themselves are all utf8 encoded.

  4. #4
    Join Date
    Jun 2008
    Location
    Japan
    Posts
    114
    Plugin Contributions
    5

    Default Re: V158 Japanese language pack

    Version 1.1.0 has been released.
    It adds local PHP Japanese calendar, which means the era can be displayed in date. For 2022 it is Reiwa 4 (令和4) and it is displayed in admin header date.
    I use an extra function for that with default format parameter
    Code:
    'r年(Gy年)MMMMd日 EEEE HH:mm:ss ZZZZ'
    but you can put your own string format (IntlDate format) in header file at line 203 as an argument for the function zen_set_local_calendar(). Result is like this:
    2022年(令和4年)12月10日 土曜日 00:43:37 GMT+09:00
    Enjoy!

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,622
    Plugin Contributions
    123

    Default Re: V158 Japanese language pack

    Arigato!
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #6
    Join Date
    Jun 2008
    Location
    Japan
    Posts
    114
    Plugin Contributions
    5

    Default Re: V158 Japanese language pack

    Version 1.1.6 of Japanese Language Pack is ready for release. Modifications/updates are as follow:

    Modified customer.php in admin so that dob field is required or not depending on field length setting in admin like for customer side.
    Typo corrections in language files.
    Added filter in function zen_get_country_zone to display only Japanese name for Japan zones when in Japanese and English names otherwise.
    Updated categories and rates for Japanese Post Class jpparcel.php Renamed all files and variable from jppercel... to jpparcel... which includes module file and language files. Old files named jppercel....something should be deleted:
    '...\includes\classes\_jppercel.php'
    '...\includes\languages\english\modules\shipping\lang.jppercelems.php'
    '...\includes\languages\japanese\modules\shipping\lang.jppercelems.php'
    '...\includes\modules\shipping\jppercelems.php'

    It is already available on Github and should be soon in plugin page.
    https://www.zen-cart.com/downloads.php?do=file&id=2359

  7. #7
    Join Date
    Jun 2008
    Location
    Japan
    Posts
    114
    Plugin Contributions
    5

    Default Re: V158 Japanese language pack

    Quote Originally Posted by pilou2 View Post
    ... Old files named jppercel....something should be deleted:
    '...\includes\classes\_jppercel.php'
    '...\includes\languages\english\modules\shipping\lang.jppercelems.php'
    '...\includes\languages\japanese\modules\shipping\lang.jppercelems.php'
    '...\includes\modules\shipping\jppercelems.php'
    ...
    Please follow this more detailed steps to update to V1.1.6 :
    - After copying all new files, install shipping module jpparcelems with same settings as jppercelems.
    - Uninstall shipping module jppercelems.
    - Delete these files :
    '...\includes\classes\_jppercel.php'
    '...\includes\languages\english\modules\shipping\lang.jppercelems.php'
    '...\includes\languages\japanese\modules\shipping\lang.jppercelems.php'
    '...\includes\modules\shipping\jppercelems.php'
    Done!

  8. #8
    Join Date
    Jun 2008
    Location
    Japan
    Posts
    114
    Plugin Contributions
    5

    Default Re: V158 Japanese language pack

    Hello A new update (v1.1.8) has been submitted in Plugin area. It should be available soon.
    If you can't wait go get it on Github! It is easier there to see which files are new or recently modified.
    There are some important bug fix and a new shipping module 'International ePacket'.

  9. #9
    Join Date
    Mar 2023
    Posts
    5
    Plugin Contributions
    0

    Default Re: V158 Japanese language pack

    Hello pilou2,Thanks for the Japanese language pack!
    In ZEN-CART v158
    I get an error when uploading the "mysql_japanese_install.sql" file in the SQL folder in PhpMyAdmin. Other than that, I can upload the file.
    MYSQL message
    #住所フォーマット追加 (#Add address format)
    INSERT INTO address_format VALUES(21,'$postcode$cr$sate$city$streets$cr$lastname $firstname 様')
    #1136-1行目で、列の数が値の数と一致しません。(#1136-In line 1, the number of columns does not match the number of values.)

    If I upload the mysql_japanese_install.sql file again.
    #注文ステータス (#Order status)
    INSERT INTO orders_status VALUES ('5','1' 'Sent',40)
    #1062 - '5-1'は索引 'PRIMARY' で重複しています。(#1062 - '5-1' is duplicated in index 'PRIMARY'.)

    Next time I upload the contents of ADMIN-JP to the admin folder using FTP software.
    When I add a new item I get an error and cannot add it.
    I get an error message "If you were entering information, press the BACK button in your browser and re-check the information you If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you entered valid data."
    Thanks in advance.

  10. #10
    Join Date
    Jun 2008
    Location
    Japan
    Posts
    114
    Plugin Contributions
    5

    Default Re: V158 Japanese language pack

    I get an error when uploading the "mysql_japanese_install.sql" file in the SQL folder in PhpMyAdmin. Other than that, I can upload the file.
    MYSQL message
    #住所フォーマット追加 (#Add address format)
    INSERT INTO address_format VALUES(21,'$postcode$cr$sate$city$streets$cr$lastname $firstname 様')
    #1136-1行目で、列の数が値の数と一致しません。(#1136-In line 1, the number of columns does not match the number of values.)
    Fujimasa san, sorry for the mistake. here is the correct sql request:
    INSERT INTO address_format VALUES (21, '〒$postcode$cr$state$city$streets$cr$lastname $firstname 様', '$city $country');

    But you can't use INSERT two time on same database/table. It is only to add new data. To change existing data the MySQL command 'UPDATE' is used.
    When you have an error like that don't upload the whole SQL file again just go to sql tab in phpmyadmin and copy / paste the correct MySQL query there.

    Next time I upload the contents of ADMIN-JP to the admin folder using FTP software.
    When I add a new item I get an error and cannot add it.
    I get an error message "If you were entering information, press the BACK button in your browser and re-check the information you If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you entered valid data."
    I am going to check that but a log file would be very helpful. Just after the error happens look in 'logs' folder (in cart root) where a new file should have been created. Please copy and paste the relevant part of this log file.

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. Japanese Language Pack problem
    By i.chan in forum Addon Language Packs
    Replies: 1
    Last Post: 14 Jun 2009, 11:21 PM
  2. Japanese Language Pack
    By namasa in forum Addon Language Packs
    Replies: 74
    Last Post: 22 Dec 2008, 03:29 PM
  3. japanese language pack...
    By fish_who in forum Addon Language Packs
    Replies: 1
    Last Post: 10 Aug 2006, 04:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR