When I enabled this module, all of my URLs broke. :)

It seems this module was affected by a change to core that came out of #1250800: Language domain should work regardless of ports or protocols. To accommodate the change, the overrides of locale_language_from_url() and locale_language_url_rewrite_url() need to be refreshed.

Couple other comments:

  • Callback functions should be namespaced to the module. So instead of using locale_language_multidomain(), it should be something like language_multidomain_detect_language()
  • Requiring the local.inc should reference the absolute path, eg: require_once DRUPAL_ROOT . '/includes/locale.inc';

Nice work on the module, this will really come in handy!

Comments

torpy’s picture

Ported that drupal core change into the patch at #2018389: Incorporate language detection port changes in drupal core :)

tkrajcar’s picture

Assigned: Unassigned » tkrajcar
Issue summary: View changes
Status: Active » Fixed

torpy's patch has been commited for 7.x-1.x-dev. :)

greg boggs’s picture

Status: Fixed » Closed (fixed)