Skip to content

laguage-names.c: Windows: Look for iso-codes dynamically

Chun-wei Fan requested to merge win32-dynamic-iso-code-path into main

Hi,

We are currently using hard-coded paths to look for the iso-codes XML and translation files, which is likely not what we want to have on Windows as binaries are relocatable on Windows. So, this makes the paths for these dynamically constructed based on the GTK DLL location, using the internal APIs we have in GTK, on Windows.

With blessings, thank you!

Merge request reports