Customization of number format

From Support
Jump to navigation Jump to search

For example, on history pages inГалоўная_старонка&action=history there are dots in numbers.

In there are no dotsЗаглавная_страница&action=history.

It possible to change number format in and how?

Тест07:20, 21 December 2010

MessagesBe.php has the following transformation rule from English to Russian numbers:

$separatorTransformTable = array( ',' => '.', '.' => ',' );

MessagesRu.php has this one:

$separatorTransformTable = array( ',' => "\xc2\xa0", '.' => ',' );

with "\xc2\xa0" = nbspp = non breaking space.

Should 'be' use this transformation rule too? Do you have a link to the official (?) standards of the 'be' language?

Raymond20:46, 21 December 2010

Thank. I will ask about official (?) standards of the 'be' language on be-wiki-forum: diff

Тест02:13, 22 December 2010

answer diff on be-x-old-forum

Ru, uk, be and be-x-old - the same number format / transformation rule.

Тест11:27, 22 December 2010

I think there are no difference in standards, because most likely they originated in USSR time state standards (ГОСТы).

EugeneZelenko15:10, 23 December 2010

Done Done with mwr:81589

Raymond11:20, 6 February 2011