Closed (fixed)
Project:
Search 404
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
6 Jun 2013 at 22:11 UTC
Updated:
5 Feb 2016 at 07:01 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
zyxware commentedCan you please elaborate on your issue a bit more?
Comment #2
raulnavas commentedSure!
1.-go to admin/config/search/search404
in "There are multilingual variables in this form" box, hilight "español" (is my default language)
2.-in "advanced options fieldgroup" in "Custom page title" field
type: "Pagina no encontrada"
3.-save
-------------------------------------------------
4.-click in "english link" in "There are multilingual variables in this form" box
admin/config/search/search404?variable_realm_key_language=en
5.-in "advanced options fieldgroup" in "Custom page title" field
type: "Page not found"
6.-save
-------------------------------------------------
7.- Last "save" clear my first "save", and now... "Page not found" appears where i save "Pagina no encontrada"
If I do the same process in reverse, the same problem occurs.
Comment #3
raulnavas commentedNow i update to 1.3... and the problem persist.
Comment #4
george esper commentedConfirming that I too have the same multilingual variable problem with version 7.x-1.3.
In my case, the last language entered overrides the other. That is, if I start with English and then enter the French translation, the French version is displayed in both the English and French page. And vice versa.
Comment #5
JamesGuthrie commentedI just encountered a similar problem and while searching for information came across this post. I would like to add information to this bug report.
I am seeing very similar behaviour, but I am not using Search 404, I believe that the error here lies in the i18n module, but I haven't pinned it down yet. It appears to me as though the problem is that the "variable_realm_key_language='your_lang_here'" parameter doesn't in fact switch languages, so the same variable is being set twice. If I am correct, then the language switcher which is embedded in the variable translation page is broken.
A temporary workaround would be to allow the Admin backend to be shown in multiple languages, to switch languages in the frontend and then use the backend in the French version (in george esper's case) to set the French translation. If this works then one can assume that it is the embedded language switcher which is broken.
Comment #6
a7madgamal commentedsame here. however i found that using this link works as expected "q=admin/config/system/variable/realm/language/edit"
but any other form with translated variables the languages links are just dummy
Drupal 7.23
some enabled modules:
Entity Translation 7.x-1.0-beta3
Field translation 7.x-1.10
Internationalization 7.x-1.10
Variable translation 7.x-1.10
Variable 7.x-2.3
hopefully some fix this :)
Comment #7
jaydee1818 commentedI'm also having this problem. Editing the "Custom page text" field in any language overrides all the variables.
Has anyone managed to fix this?
Comment #8
jaydee1818 commentedOk, this fixed the problem for me.
Unzip the attached file (use the file below - #9) and place it in the sites/all/modules/search404 folder.
It should be named search404.variable.inc
Now flush the cache. Then go to: /admin/config/regional/i18n/variable
You should now see Search 404 as a realm containing multilingual variables. Check the boxes for Custom Title and Custom Text and save.
Now you can go back to: /admin/config/search/search404 and add custom titles and text for all your different languages.
Comment #9
jaydee1818 commentedActually - use this file.
Comment #10
jaydee1818 commentedComment #11
peacog commentedThanks for the fix in #9. I've rolled a patch to help with getting this commited.
Comment #12
anish_zyxware commentedFind the patch. Reviewed and tested. Included documentation for configuring it.
Comment #14
anish_zyxware commented