Help with asterisk prompt

I need to modify asterisk to read numbers that match the right to left reading, for example when you check your voice mail the sound is “you have twenty two messages” but in arabic it read something like “you have two twenty messages” it is just the way it works. i’ve been reading about the asterisk apps and don’t know exactly how to modify this, at the CLI i see VoicemailMain saying these numbers in specific order. i really appreciate if someone could help me to get it modified with some instructions or link to it. if it is a c programming please let me know how to start.
Thank you in advance

Please do not double post.