I am writing a multi language application with the possibility of switching between languages on the fly. This works well with using an excel file as translation table and macros to control which language should be shown. There is one problem which we have not mastered and that is the sorting of listboxes, tables etc. Sorting in english and german is the same, but sorting in swedish is different (all special characters go after Z). QT support tells me that I need to change my machine settings to swedish and reload to get the swedish sorting, and of course, the same goes for other languages. As this cannot be done "on the fly", I wonder if anyone has an idea how this could be done? I was wondering if it would be useful to use the applycodepage() function, but I cannot really seem to make that function the way I anticipated.