How can I use PHP's gettext in conjunction with python's gettext?
Posted
by dd
on Stack Overflow
See other posts from Stack Overflow
or by dd
Published on 2009-11-12T19:13:07Z
Indexed on
2010/03/24
23:03 UTC
Read the original article
Hit count: 440
I have an app that I'm migrating portions of to Django, but python and php have a different string format. E.g.
"Hello %1s" in php vs. "Hello {0}" or "Hello {name}" in python.
We'll be maintaining both apps for a while, but is there a way to use the python format in PHP or vice versa?
© Stack Overflow or respective owner