开发者

joomla with multiple line translation

i am developing a joomla 1.5 module and don't know how to make a multiple row translation file

in my file en-gb.com_abc.ini

i have:

TITLE=Title
AUTH LINK=Authorization Link
CONTRACT=this is a very lon开发者_Go百科g translation
and i need it on more than one row
is it possible?

when i use echo JText::_('CONTRACT'); joomla only outputs

this is a very long translation

but i would like it to ouput

this is a very long translation
and i need it on more than one row
is it possible?

how to do it ?


put "" around the text or put '\n' at the end of each line.


in joomla 1.5 "" doesn't work, the only solution i found was writing a script which replaces all "\r\n" with

"\\n"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜