Ionic 2 の翻訳パイプの実例を持っている人はいますか?
console.log("trans: "+this.trans.translate('Location')); // works fine in code
http://ionicframework.com/docs/v2/utils/translation/によると、テンプレートの構文は次のようになります。
<h2>{{'My example key' | translate}}</h2>
私にとっては、これにより次のJSエラーが発生します。
EXCEPTION: Cannot find pipe 'translate'. in [null]BrowserDomAdapter.logError @ app.bundle.js:36432