I'd have prefered to do the modification inside set_localedir(), but my first attempts weren't successfull as I could not call canonicalize_name() or g_fs->canonicalize_name() from there. So I went on with the easy solution.
The only thing left to do was to copy the locale directory from a running build20 installation to the data directory of my test branch. It seems that (at least here on my machine) the data directory of trunk doesn't contain a locale subdirectory.
Now I found a solution concerning the problem with the locale folder. In wlapplication.cc I replaced
i18n::set_ localedir( datadir_ + "/locale");
with
i18n::set_ localedir( g_fs->canonical ize_name( datadir_ + "/locale"));
I'd have prefered to do the modification inside set_localedir(), but my first attempts weren't successfull as I could not call canonicalize_name() or g_fs->canonical ize_name( ) from there. So I went on with the easy solution.
The only thing left to do was to copy the locale directory from a running build20 installation to the data directory of my test branch. It seems that (at least here on my machine) the data directory of trunk doesn't contain a locale subdirectory.