The i18n function calls are D6 version.
This is my update to integrate the new D7 locale module

CommentFileSizeAuthor
securesiteLocaleIntegration.patch1.23 KBAnonymous (not verified)

Comments

deciphered’s picture

Status: Needs review » Closed (duplicate)
deciphered’s picture

Status: Closed (duplicate) » Fixed

Committed to 7.x-2.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit bd345a3 on 7.x-2.x, 8.x-1.x by Deciphered:
    #1528012 by Patrizio: Fixed issue with i18n integration.
    #1414678 by...
feroma’s picture

Issue summary: View changes
Status: Closed (fixed) » Needs review

Hi everybody, I've recently have some problem in password recovery flow. I resolved changing this line:
if (module_exists('locale') && $language->enabled && $language->prefix != '' ) {...

into this

if (module_exists('locale') && $language->enabled && $language->prefix != '' && $args[0]==$language->prefix) {...

'cause, in my case, even if Locale was active the main URL doesn't report the language prefix.

Hope this help!

pieterdt’s picture

#5 is indeed something that fixes my problems as well. Not sure if this is the correct issue to report the patch in...