Drupal7をレンタルサーバーなどで日本語化する場合、以下のようなエラーが出て日本語化ファイル(.po)をアップロードできない場合がある。
Home » Administration » Configuration » Regional and language » Translate interface » import
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to access xxxxxxxxxxxxx in file_save_upload() (linea 1528 di /home/mysite/public_html/includes/file.inc).
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
代替法
1、http://localize.drupal.org/ から poファイルをダウンロードする。
2、/profiles/standard/translations へ poファイルを配置する。
3、Home » Administration » Configuration » Regional and language » Languages » Add から言語を選択し言語を追加する。
4、自動的に配置した poファイルを読み込みインポートされる。
5、デフォルトに設定する。
Leave a Reply