Closed (fixed)
Project:
Entity Translation
Version:
7.x-1.0-beta2
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2013 at 10:25 UTC
Updated:
18 Apr 2013 at 08:40 UTC
Hi
When adding or editing a node translation, the whole site changes to the selected language. Is it possible for the UI to remain in the default language? I think this used to be the case with the alpha versions of Entity Translate.
Fantastic module btw :)
Jason
Comments
Comment #1
plachSure, you can either use the Administration Language module or configure language detection and selection settings so that content language is always determined by URL (or Session) and interface language follows the user or browser preference and just falls back to URL (or Session).
Comment #2
Jason Dean commentedThanks Plach for answering :)
When I set interface language to follow user/browser preference, it always stays in default language even if a different language is manually selected. If a site visitor selects a different language, I need the interface and content to change to that language.
Administration Language module looks perfect for just keeping the Admin interface in the default language, but the 7.x dev code seems really buggy (but that's not your problem, I know!).
So I guess I'll try to persevere with Administration Language module.
Comment #4
toxinlabs commentedthis doesn't work for me. i tried using the "administration language" module and i tried changing my language detection and selection settings... neither worked.
if i edit an node with german content and click on translate in order to add an english translation the link always switches the interface language to english as well. that's not what i want because people who will add the english translations are german speaking as well. it's a bit confusing for them if the whole interface language switches if they only want to add a translation. more languages will be added later, so that will make matters even worse and more confusing.
Comment #5
toxinlabs commentedComment #6
ahoms commentedhi there,
that's an ugly workaround... but I really needed this behaviour and I think I managed to patch the module code.
Add this line
$link["language"]->prefix = "ca";
in line number 1331 of the file "includes/translation.handler.inc", replacing "ca" by your default language.
This will make the edit form interface stay in that language.
Cheers.
Comment #7
plachThe issue reported in #4 is "by design". The solution is properly configuring language negotiation so that content and UI language are disjoint. Most of the times Admin language is the way to do this, if it doesn't work then you encountered a bug of its, sorry.