0

$s, ${s} or {{s}} won't work for me.

What are default settings for variable interpolation in php gettext?

msgid "w_clients_details_vatid"
msgstr "Cannot obtain VAT identification number for client: {{s}}"

I call it like: _("w_clients_details_vatid"); Text displays as it is supposed to. But no interpolation occurs.

4

1 に答える 1