Toolserver Tools - Soxred93: PLURAL template necessary

From Support
Jump to navigation Jump to search
Revision as of 21 January 2011 at 09:11.
The highlighted comment was created in this revision.

Toolserver Tools - Soxred93: PLURAL template necessary

I think the messages toolbase-replag-years, toolbase-replage-months etc. follow the message toolbase-replag that contains the numerical parameter $1. This parameter requires the PLURAL template in the messages toolbase-replag-years, toolbase-replag-months, toolbase-replag-weeks, toolbase-replag-days, toolbase-replag-hours, toolbase-replag-minutes and toolbase-replag-seconds.

The message toolbase-footer-exactime requires PLURAL template as well.

    Michawiki11:37, 19 January 2011

    All messages marked as "Toolserver Tools" are no real MediaWiki extensions but toolserver tools (what a surprise ;-)

    Therefore they do not support the standard MediaWiki functions like PLURAL & co.

      Raymond17:21, 19 January 2011

      Thanks. I proceeded on the assumption that all MediaWiki extensions can support PLURAL.

        Michawiki20:28, 19 January 2011

        Yes, this assumption is understandable.

          Raymond14:06, 20 January 2011
           

          This is a suggestion made without proper research.

          Would it be possible to implement {{PLURAL|...}} in the toolserver messages?

            Purodha Blissenbach12:37, 20 January 2011

            Please request this feature from the toolserver guys directly. As far as I know every toolserver tool is a stand alone PHP program. I fear every programmers has to implement this feature itself. But nothing Translatewiki can do for you. Sorry.

              Raymond14:10, 20 January 2011

              Using PHP is not a requirement, so it can be any programming language; me alone using six different ones at least. As I said, no research, isn't there a library delivering strings to programs, which could take the parameter substitution and formatting stuff in a centralized way?

                Purodha Blissenbach06:30, 21 January 2011

                Not really. Some simple library that could easily be ported to different languages, and which handles plurals, grammar, gender etc. would of course be great. Gettext really isn't up to date when it comes to these things.

                  Nike09:11, 21 January 2011