Discussion:
[poedit-users] How to specify a wrapping keywords ?
Boris Guéry
2010-08-13 10:27:33 UTC
Permalink
Hi,

I'm poedit with a Zend Framework project (php) and I use a filter in my
views scripts which use a htmltag-like '<translate>My string</translate>'

I know how to add new keyword in poedit, but I don't know how to add
such keyword.

It works great for method/functions but not for this specific use case.

I tried something like <translate>%s</translate> but it doesn't work.

Any ideas ?

Thank you.
Vaclav Slavik
2010-08-13 15:26:56 UTC
Permalink
Post by Boris Guéry
Any ideas ?
If you want to do things in a non-standard way, you'll have to write
your own script ("Parser" in Poedit's [bad] terminology) to extract the
strings. xgettext, which Poedit uses, can't handle that weirdness I'm
afraid.

Vaclav

Loading...