##// END OF EJS Templates
i18n: enable translation defaults for pyramid views.
marcink -
r1303:4e6cc838 default
parent child Browse files
Show More
@@ -283,6 +283,9 b' def includeme(config):'
283 config.add_route(
283 config.add_route(
284 'rhodecode_support', 'https://rhodecode.com/help/', static=True)
284 'rhodecode_support', 'https://rhodecode.com/help/', static=True)
285
285
286 config.add_translation_dirs('rhodecode:i18n/')
287 settings['default_locale_name'] = settings.get('lang', 'en')
288
286 # Add subscribers.
289 # Add subscribers.
287 config.add_subscriber(scan_repositories_if_enabled, ApplicationCreated)
290 config.add_subscriber(scan_repositories_if_enabled, ApplicationCreated)
288
291
General Comments 0
You need to be logged in to leave comments. Login now