Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - memphis

Pages: [1]
1
Language Packs / Re: [Language] Japanese Language
« on: May 18, 2010, 02:37:51 AM »
Hi, yukino.

The correspondence to the Japanese is not possible only with a language file.
It is necessary to revise the program.

Thank you.


*Japanese*
日本語への対応は言語ファイルだけではコメントが文字化けします。
PHPを2つ修正すれば大丈夫です。

2
Thank you for your responce.  I will try.

3
Language Packs / Re: [Language] Japanese Language Files for v1.7.7
« on: May 17, 2010, 11:52:56 PM »
Additional.

To fix this:
in admin/comments.php

Find line 26:
Code: [Select]
define('IN_CP', 1);
define('ROOT_PATH', './../');
require('admin_global.php');


Replace with:
Code: [Select]
define('IN_CP', 1);
define('ROOT_PATH', './../');
require('admin_global.php');
mb_internal_encoding("UTF-8");



Around line 306:
Code: [Select]
      if (strlen($comment_row['comment_text']) > 75) {
        $comment_row['comment_text'] = substr($comment_row['comment_text'], 0, 75)."...";
      }

Replace with:
Code: [Select]
      if (mb_strlen($comment_row['comment_text']) > 75) {
        $comment_row['comment_text'] = mb_substr($comment_row['comment_text'], 0, 75)."...";
      }

4
I want iPhone Template.
Do you know where?

5
Language Packs / Re: [Language] Japanese Language Files for v1.7.7
« on: May 17, 2010, 03:31:07 PM »
Hello.
I found that word_wrap didn't work well when I used Multibyte Character like Japanese language.
The correction method is as follows.

To fix this:
in includes/functions.php
find:
Code: [Select]
function format_text($text, $html = 0, $word_wrap = 0, $bbcode = 0, $bbcode_img = 0) {
  if ($word_wrap && $text != "") {
     $text = preg_replace("/([^\n\r ?&\.\/<>\"\\-]{".$word_wrap."})/i", " \\1\n", $text);
  }

Replace with:
Code: [Select]
function format_text($text, $html = 0, $word_wrap = 0, $bbcode = 0, $bbcode_img = 0) {
  if ($word_wrap && $text != "") {
     $text = mb_ereg_replace("/([^\n\r ?&\.\/<>\"\\-]{".$word_wrap."})/i", " \\1\n", $text);
  }


*以下は日本語です。
日本語などマルチバイトを使う環境は、word_wrap が正しく動作しないことが解かりました。
修正方法は以下の通りです。

修正するファイル:
includes/functions.php の3行目です。
Code: [Select]
function format_text($text, $html = 0, $word_wrap = 0, $bbcode = 0, $bbcode_img = 0) {
  if ($word_wrap && $text != "") {
     $text = mb_ereg_replace("/([^\n\r ?&\.\/<>\"\\-]{".$word_wrap."})/i", " \\1\n", $text);
  }

6
Language Packs / Re: Japanese???
« on: April 01, 2010, 03:31:53 PM »
Hello.

Language Japanese Pack for v1.7.7
http://www.4homepages.de/forum/index.php?topic=27061.0

7
Language Packs / Re: Language Japanese for 1.7.4
« on: April 01, 2010, 03:29:54 PM »
Hi.

Language Japanese Pack for v1.7.7
http://www.4homepages.de/forum/index.php?topic=27061.0

8
Language Packs / [Language] Japanese Language Files for v1.7.7
« on: April 01, 2010, 03:19:28 PM »
Hi,

Japanese Language Files.
Version 1.7.7

Regards,
memphis


*以下は日本語です。
文字コードはUTF-8で作成しています。
4images 1.7.7.zip を解凍後に、添付ファイルを解凍して上書きして下さい。

9
Language Packs / [Language] Japanese for 1.7.6
« on: February 08, 2008, 01:21:51 PM »
---English(Machine translation)
I changed Japanese, German, English in UTF-8 and made the file which was necessary for installation.
I defrost this file after downloading latest Ver1.7.6 and become 4images of the UTF-8 if I overwrite.
This is a link to download a zip file
When I do not make all UTF-8, please pull out only a file about Japanese.
Please download a ZIP file in the link.

---Japanese
日本語、ドイツ語、英語をUTF-8に変更してインストールに必要なファイルを作成しました。
最新版のVer1.7.6をダウンロードしてから、このファイルを解凍し、上書きすればUTF-8の4images になります。
全てをUTF-8にしない場合は、日本語関係のファイルだけ抜き出して下さい。
リンク先にあるZIPファイルをダウンロードして下さい。


http://benzfan.net/img/


10
Language Packs / Re: Language Japanese for 1.7.4
« on: February 04, 2008, 03:14:29 PM »
I am now woking on Japanization based on 4images 1.7.5., and I found there are many change points of the system.
Please wait.

Pages: [1]