【发布时间】:2009-09-28 00:43:40
【问题描述】:
我目前正在使用 PHP 使用 gettext 进行国际化。我想知道这个例子是否有什么好的方法:
By using this website, you accept the <a href="<?php print($dir); ?>/tos/">Terms of Use</a>.
对于 en_US,这句话将遵循这样的格式。但是,在另一种语言中,“使用条款”链接可能位于句子的开头。有没有一种优雅的方式来做到这一点?感谢您的宝贵时间。
【问题讨论】: