Cakephp 翻译不起作用,请帮帮忙
这是家里的电话线。ctpCakephp 翻译不起作用,请帮帮忙,cakephp,translate,Cakephp,Translate,这是家里的电话线。ctp <div id="bid-now" class="border-blue"> <div class="heading bg-image-blue"><h3>BID NOW! - these auctions are about to end</h3></div> <?php echo $this->element('bid_
<div id="bid-now" class="border-blue">
<div class="heading bg-image-blue"><h3>BID NOW! - these auctions are about to end</h3></div>
<?php echo $this->element('bid_now!_-_these_auctions_are_about_to_end'); ?>
<div class="content">
我翻译了所有内容,有些翻译有效,有些则无效。有人能帮我吗?你的代码片段没有任何用处。这是cakephp 2.6版,我有什么版本不重要;如果要翻译文本,必须通过翻译函数传递文本。
#: /views/auctions/home.ctp:20
msgid "BID NOW! - these auctions are about to end"
msgstr "BIETEN SIE JETZT! - Diese Auktionen sind kurz vor dem Ende"