Zend translate strip line breaks

View: New views
2 Messages — Rating Filter:   Alert me  

Zend translate strip line breaks

by johannesf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all

I'm kind of new to the zend framework, so this migth be a stupied question :-)

But, How do I keep my line breaks using the Zend_Translate? and a csv-langauge file??

Zend Translate, parse them an plain text like this: 'text<br />and more text, or\nsome more text'

best regards / johannes

Re: Zend translate strip line breaks

by thomasW :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just be sure that you use the _"_ and not _'_.
Zend_Translate itself does not change any input.

'\n' does not work in PHP

Greetings
Thomas

----- Original Message -----
From: "johannesf" <johannes.fosseus@...>
To: <fw-general@...>
Sent: Wednesday, May 14, 2008 7:35 PM
Subject: [fw-general] Zend translate strip line breaks


>
> Hi all
>
> I'm kind of new to the zend framework, so this migth be a stupied question
> :-)
>
> But, How do I keep my line breaks using the Zend_Translate? and a
> csv-langauge file??
>
> Zend Translate, parse them an plain text like this: 'text<br />and more
> text, or\nsome more text'
>
> best regards / johannes
> --
> View this message in context:
> http://www.nabble.com/Zend-translate-strip-line-breaks-tp17236842p17236842.html
> Sent from the Zend Framework mailing list archive at Nabble.com.