Best practice how to solve synonyms for lookup table entrys

Hi - this is my first question here and I hope I can express myselfe understandable.

I want my bot to answer questions about currencys. And it works fine as I imagine. If someone asks a question about any currency or country using its ISO-Code I can use my REST service, using this ISO code as parameter, to get the facts for the answer how it shall be. Herefore I have some questions in my trainingsdata and a lookup table with all possible ISO codes, tested by Regex to be a possible ISO code. So fine - it works.

Now I want that the visitor also can ask by using the name of the Country or currency i.e. US-Dollar instead USD. Because I need the right ISO code as parameter for my REST request I’ve to translate the text to the right ISO Code. I can’t use synonyms because there are too many possibilitys in my lookup tables. My bot can also understand the names and the recognizion of this works fine.

I only do not know how to “translate” the name to the code and vice versa for answer. Or do I have no other choice to program this independently in my own custom action? I’ve to say I am not only a rasa newby but also a python newby

Thank you - but i solved it by myself. I wrote a custom action which finds the right ISO-Code.

If it detects the right string for searching in my translation table. Although I habe a lookup-table with all currencys and my Translation table the bot understand “US Dollar” as USD “Norwegische Krone” as NOK “Australischer Dollar” as AUD

but “Kanadischer Dollar” as Dollar and not as “Kanadischer Dollar”. Yes my bot “speaks” german - and this is an additional problem, because the word endings are differ in grammer. I can add trainings data but not as many as my lookup-tables have.