Jump to content

About [[MediaWiki:Narayam-ta-99/hi]]

{{FORMATNUM:$1}} should do it (when wikitext and magic words are allowed, which is not always the case)

Nike (talk)09:02, 25 March 2012

Ok, it seems to be working with this message. Is there a way to know if this will work with a particular message without having to ask here for each one? Thanks.

सिद्धार्थ घई (talk)23:18, 25 March 2012

Not really, unless you are not scared of reading the program code. Or you can test if you can see the message in real action here in translatewiki.net (don't trust the preview of translations).

Nike (talk)15:06, 26 March 2012

Testing here wouldn't be possible for all extensions (or even for core for that matter), since:

  1. Most messages don't contain precise documentation for where to find them
  2. Some messages are used in places with restricted access, which will not be accessible to translators here

I'm not excited about having to learn programming languages for translating.

So there's no solution for this currently? If not, should I go ahead and file a bug for this in BZ? Is TWN covered there?

सिद्धार्थ घई (talk)22:42, 28 March 2012

Even worse. Since this wiki has only one specific one of the various possible general settings, you would only be able to see that your test apears to work for this specific one. This is not really sufficient.

I believe that such tests could be made on LABS, but I am not certain. I am still learning about it.

Purodha Blissenbach (talk)04:03, 10 June 2012
 
 
 

What about messages like MediaWiki:Narayam-he-standard-2011-extonly/hi ? Using formatnum caused a comma in between and using formatnum with r parameter caused it to go back to arabic numerals.

Solution?

सिद्धार्थ घई (talk)23:26, 25 March 2012

The formatnum magic word does not expose the ability to avoid adding thousand separators (MW itself can do it). There is no fix for this, except the very ugly workaround of using formatnum twice with two numbers each time.

Nike (talk)15:09, 26 March 2012

Any potential problems with/opposition to being "very ugly" if required?

सिद्धार्थ घई (talk)22:36, 28 March 2012
 

Why use formatnum *at all* in these cases? It's static text. Format the number however you like.

Siebrand18:23, 26 March 2012

It's explained in the first comment. The local numbering system is not universally used and the number transliteration could potentially be turned off in some wikies but not in others. I don't know if that is done in practice.

Nike (talk)20:12, 26 March 2012

In practice:

You need more/other examples?

सिद्धार्थ घई (talk)22:35, 28 March 2012

Wow. That doesn't sound helpful, not consistent at all. I don't envy you...

Siebrand19:34, 29 March 2012