Look, to make a lang file(register_dictionary) and get info from it you should use format/formatex(x, charsmax(x), "%L", LANG_*, "MY_LANG_TEXT") and in order to store it you should make the x a global.
I think this must be ok only if i didn't misunderstood.