﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3693	Preferences dialog take very long to show up	bilbo	team	"Preferences dialog needs several seconds to show. I investigated the issue and I've found one of the causes: every invocation of the dialog, JOSM tries to find installed locales. However it does this by calling org.openstreetmap.josm.tools.I18n.getAvailableTranslations(), which in turn enumerates all locales installed on system, then checking for each if that translation is present in the .jar. This have two disadvantages:

 * Some translation can be omitted, if that locale is not installed on system
 * On systems, where there are many installed locales, this search takes quite a long time (for most locales on my system there is no corresponding JOSM translation)

Since locales are embedded in the .jar, this can be solved by creating list of available locales, perhaps with some extra information (name of the language) added at compile time, so this function will just quickly return pre-made list.
"	defect	closed	normal		Core	latest	fixed		
