我正在开发一个应用程序,并且我正在使用多个地区。所有这些都可以在开发环境中很好地工作,但登台环境有一些问题。很少有区域设置会引发丢失的翻译错误。
以下是我的区域设置文件:
en:
js:
funds:
deposit: Deposit
withdraw: Withdraw
currency_name:
usd: USD
btc: BTC
eth: ETH
aion: AION
ada: CARDANO
vechain: VECHAIN
deposit_btc:
title: BTC Deposit
deposit_eth:
title: ETH Deposit
deposit_aion:
title: AION Deposit
deposit_ada:
title: CARDANO Deposit
deposit_vechain:
title: VECHAIN Deposit
withdraw_btc:
title: BTC Withdraw
withdraw_eth:
title: ETH Withdraw
withdraw_aion:
title: AION Withdraw
withdraw_ada:
title: CARDANO Withdraw
withdraw_vechain:
title: VECHAIN Withdraw当我在登台环境中运行我的应用程序时,所有的btc、eth、ada和vechain都工作得很好。但是aion的区域设置给出了以下错误:
[missing "en.funds.deposit_aion.title" translation]以下是我用于呈现此货币的模板:
<h2 class="panel-title">{{"funds.deposit_aion.title" | t}}</h2>
<ng-include src="'/templates/funds/_deposit_coin.html'"></ng-include>
<ng-include src="'/templates/funds/_deposit_coin_history.html'"></ng-include>如果有人能帮上忙,请帮帮忙?
发布于 2019-04-01 18:26:38
你有没有一个单独的(备用的)翻译文件来使其他翻译工作?这个错误似乎建议您不应该使用js来限定翻译的范围;删除第二行。
https://stackoverflow.com/questions/55452797
复制相似问题