より効率的な方法で記述できると思われるコードがありますが、一部のPHPクエリにはまだ少し錆びています。
次のクエリを書くためのより良い方法はありますか?
<?php
if(qtrans_getLanguage()=='en'): echo 'Latest News'; endif;
if(qtrans_getLanguage()=='it'): echo 'Ultime notizie'; endif;
if(qtrans_getLanguage()=='de'): echo 'Aktuelle Nachrichten'; endif;
if(qtrans_getLanguage()=='zh'): echo '最新消息'; endif;
if(qtrans_getLanguage()=='es'): echo 'Últimas noticias'; endif;
if(qtrans_getLanguage()=='fr'): echo 'Dernières nouvelles'; endif;
?>