Topic: Price in words function

Hi,

How does the price in words function works? I see this function is used in several reports but onlye can display the price in words in English. I don't see where I can translate the words used.

I see this function goes back to ui_view.inc but don't understand where it get its words from. Can anybody explain this please?  thnx.

Re: Price in words function

This function can be provided by any extension module (see comments to price_in_words() hook method  in includes/hooks.inc).When more than one extension provides this hook, the last one is used.
Alternatively you can define it in locales.inc file for your language - see lang/new_language_template/locale.inc.

(Gettext translation system has weak support for numbers, so this is done this way)

Janusz