Re: about entities
| From: | Michael Wallner | Date: | Tue, 19 Oct 2004 07:36:48 +0000 |
| Subject: | Re: about entities | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-4992@lists.php.net to get a copy of this message | ||
Hi Christophe gesché, you wrote:
> that's mean that I can repleace in my source
>
> "True upon success otherwise a &class.pear-error upon failure"
> by "&return.success-pearerror"
I use it that way.
> Some question about this.
>
> 1° My translation is encoded
> <?xml version="1.0" encoding="iso-8859-1" ?>
> and not the language-snippet.ent
>
> There can be give problem ?
I think that shouldn't be a problem.
> 2° in the entity return.success-pearerror
> why not use &class.pear-error instead of PEAR_Error
Don't know... saving a hit? :)
> 3° more globaly, is it more efficient, easy to work for other, ..
> if I parse all my translation to replace hard wirted sentece
> by entities, when exist ?
I'd say those language snippets are especially for translators,
because you won't need to translate such a snippet, so yes.
Regards,
--
Michael - < mike(@)php.net >
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc