• Resolved raspbianfrance

    (@raspbianfrance)


    Hello,
    i’ve find out that the plugin miss support for singular/plural variations of translated strings. This kind of variations can be introduced using ngettext() instead of gettext(), or _n() instead of _e().

    For example, _n( string $single, string $plural, int $number, string $domain = 'default' )

    I think this would be a great improvement for the plugin, and also not necessarily a hard one to implement, as you “just” need to do the same things you are already doing for gettext() & _e() with a slightly different regular expression.

    I would have done it myself, but I admit that the current regular expression leaves me a little pensive ^^.

Viewing 1 replies (of 1 total)
  • Plugin Author Marcin Kazmierski

    (@marcinkazmierski)

    Good suggestion ??
    I updated my plugin, I added regular expression and ngettext filter ??
    You can now update this plugin and check it! ??

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin does not support translation for singular/plural variations’ is closed to new replies.