Created attachment 373800 [details] patch Steps to reproduce: Open "New Accout Hierarchy Setup" Go to page "Choose accounts to create" "Categories" combo boxes are set to "en" "US" Expected: Open "New Accout Hierarchy Setup" Go to page "Choose accounts to create" "Categories" combo boxes are set based the current LANG. Note that selected templates looks good, based on the current LANG. The attached patch should fix this problem.
Created attachment 373801 [details] symptom
Created attachment 373802 [details] patch
update_language_region_combos traverses each directory entry in the gnc_path_get_accountsdir. When it hits "C" directory it unconditionally overwrites start_region variable which is used to determine the default language/region.
Thank you for the patch, I have pushed the changes to maint and will be included in the next release 4.1 which should be this weekend.
Yoshino-san could I enlist your help with bug 797860? I don't have access to a 106-key keyboard and I don't understand where GnuCash could be causing the symptoms described.