* @param locale the locale to use to attempt to obtain the resource bundle
* @return the resource bundle if one is found, else parent
*/
public static L18nResourceBundle loadResourceBundle(ArchiveStore store, L18nResourceBundle parent, Locale locale)
{
L18nResourceBundle resourceBundle = store.getResourceBundle(locale);
if (resourceBundle != null)
{
resourceBundle.setParent(parent);
return resourceBundle;
}
else
{
return parent;