String[] urIsFor = super.getURIsFor(javaMethod, type);
for (int i = 0; i < urIsFor.length; i++) {
for (ResourceBundle bundle : routesResource.getAvailableBundles()) {
if(bundle.containsKey(urIsFor[i])) {
Route translatedRouteWithLocalePrefix = buildWithLocalePrefix(javaMethod, type, bundle.getString(urIsFor[i]), bundle.getLocale());
routes.add(translatedRouteWithLocalePrefix);
}
}
Route defaultRouteWithLocalePrefix = buildWithLocalePrefix(javaMethod, type, urIsFor[i], Locale.getDefault());
routes.add(defaultRouteWithLocalePrefix);
}
return urIsFor;
}