changing x10 mini pro keyboard from querty to azerty CM7 pro's ROM
You may want to try 3rd-party keyboard apps that support transliteration of physical keyboards.

I've previously used AnySoftKeyboard, and with the appropriate language pack (e.g. French with has the AZERTY layout) it will transliterate physical keyboard as well.