Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は現在プロジェクトの終わりに近づいていますが、1つのことに固執しました。私はユーザーモジュールを持っており、user_lanという言語ファイルがあります。いくつかの要件については 、themes /partial/フォルダーのmetadata.htmlからそのファイルで定義された値にアクセスする必要があります。
なにか提案を。
ありがとうございました。
そのlangファイルがすでにロードされている場合は、次のコマンドでアクセスできます。
{{ helper:lang line="foo:bar" }}
http://docs.pyrocms.com/2.1/manual/plugins/helper