LoginSignup
1
2

More than 5 years have passed since last update.

Plone 5 の翻訳テスト環境の構築

Last updated at Posted at 2014-07-17

前提

  • Plone 5 が導入済み
  • gitがインストール済み

インストール・設定

mr.developer

複数のパッケージをまとめてチェックアウトなどをしてくれる仕組み

buildout.cfg を編集(以下2箇所)

buildout.cfg
[buildout]
extensions = mr.developer
auto-checkout =
    plone.app.locales
    plone.app.event
    plone.app.dexterity
    plone.dexterity
buildout.cfg
[sources]
plone.app.locales = git https://github.com/plonejp/plone.app.locales.git
plone.app.event = git https://github.com/plonejp/plone.app.event.git
plone.app.dexterity = git https://github.com/plonejp/plone.app.dexterity.git
plone.dexterity = git https://github.com/plonejp/plone.dexterity.git

buildoutの実行

$ ./bin/buildout -N

確認方法

  • srcフォルダに必要なパッケージがあるか?
  • bin/instance の中を見て、該当パッケージが src以下から読まれているか?

翻訳関係の設定確認

起動時にpoファイルをmoファイルにコンパイルするか?
以下のように設定されていば問題なし。(Plone5a2では自動的にmoファイルを作成するように設定されていました)

base.cfg
environment-vars =
    zope_i18n_compile_mo_files true

githubから最新のPloneで試す場合

以下のエントリーを参照して下さい。
http://qiita.com/terapyon/items/905dbe19bc4a00b9aa7e

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2