Thread:Extension talk:ParserFunctions/changing number characters in non English wiki

In Arabic wiki ,How can i convert English numbers characters to Arabic numbers characters with out having Comma(,). I want to use these numbers as year but having comma inside year number is not good. formatnum function NaN in Arabic wiki shows numbers in Arabic characters with comma.