Switch to a sub-domains with a new default language added change default language of others domains.

Junro - June 18, 2009 - 23:41
Project:Localization client
Version:6.x-1.7
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hello,

I set differents languages to my sub-domains and I've got this "bug" very boring to me.

When I switch from sub-domains to main domain automaticaly set the language default of the main domain to the language of the sub-domain I come back from.

I don't know if it's normal... if I have to change something...

The default language of the main domain couldn't change like that... I think it's the cause of a translation problem I have.

#1

Junro - June 18, 2009 - 23:47
Title:Switch from sub-domains to main domain: ---> big problems...» Changing translations of a language of sub-domains change the default language of the main domain to the sub-domain we come from

Hum I don't know if you will understand... if not I will try to be more specific.

ps: It's not exactly when I switch from sub-domains to main domain. It's about translation use.

Very big problem.

#2

Junro - June 18, 2009 - 23:49
Title:Changing translations of a language of sub-domains change the default language of the main domain to the sub-domain we come from» Changing translations of a language of sub-domains change the default language of the main domain...

Changing translations of a language of sub-domains change the default language of the main domain to the default language of the sub-domain we come from.

#3

agentrickard - June 19, 2009 - 14:27

Can you start over please? In the format:

1) I configure default language to do X from the form on page Y from domain Z.
2) I use module A to change setting B from the form on page C on domain Z.
3) D behavior occurs on domain Z on page E.
4) I expect to see F behavior on site Z instead

#4

agentrickard - June 19, 2009 - 14:27
Component:- Domain Nav» Code

Why did you file this against Domain Nav?

#5

Junro - June 19, 2009 - 19:38

Can you start over please? In the format:

1) I configure default language to do X from the form on page Y from domain Z.
2) I use module A to change setting B from the form on page C on domain Z.
3) D behavior occurs on domain Z on page E.
4) I expect to see F behavior on site Z instead

euh I don't really understand what you mean, what you would like.

About Domain Nav, I don't know why I put that, mystake with my mouse, I didn't even have Domain Nav enable. Maybe I should...

#6

agentrickard - June 20, 2009 - 06:39

I mean, please give me a detailed breakdown of the steps you took, the behavior you expect, and the behavior you experienced, including the page from which you set values.

You must use Domain Conf to set the domain-specific language variables. If you didn't do that, then this is "by design."

#7

Junro - June 20, 2009 - 09:25

ok, I will do that

ps: I'm using Domain conf to set the domain-specific language variables.

#8

agentrickard - June 20, 2009 - 16:28

I cannot replicate this issue. Using all three forms of language negotiation (path only, path with fallback, and domain.) If using the domain method, you must ensure that the domain settings for the language match the configuration settings for the domain.

#9

Junro - June 20, 2009 - 18:16
Title:Changing translations of a language of sub-domains change the default language of the main domain...» Changing translations of a language of sub-domains change the default language of others domains

ok, here what to do to replicate the problem:

it's only one way to replicate it, but there is others ways.

Main domain --> default language: english

Sub-domain A --> default language: english

(Your are with B domain)

1. You want to change the default language of A to another language (download one you don't have).

2. /admin/settings/language -->Add language --> and import the new language.

3. /admin/build/domain/conf/A --> default language: your new language.

the default language of Main domain and others domains with english default language are OK, still have the english default language.

4. Switch to the domain A with the new default language.

5. And now go back to the main domain, you will have the last default language you set with the domain A.

IMPORTANT: It's not only the main domain but ALL ENGLIsH DEFAULT DOMAINS. Domains with others languages than english as default language are good.

6. You have to set back the default language of the main domain to english and it will set back all others domains with english as default language.

ps: it's the same problem when you want reimport packages with l10n module: /admin/build/translate/import/package

#10

Junro - June 20, 2009 - 18:30

Maybe something wrong with my configuration:

1.Advanced settings /admin/build/domain/settings --> see attach file

2.User Default Domain settings /admin/build/domain/settings --> see attach file

Languages settings: /admin/settings/language/configure ---> set on: Path prefix only.

Languages multilingual system: /admin/settings/language/i18n --> Content selection mode: set on: Current language and language neutral.

AttachmentSize
1.advanced_settings.jpg 143.1 KB
2.user_default_domain_settings.jpg 194.17 KB

#11

agentrickard - June 21, 2009 - 21:32

I suspect User Default Domains, which I have never used and do not maintain. What happens if you disable that module?

#12

agentrickard - June 21, 2009 - 21:35

This could also be a UI issue. I believe that if you don't set a language for a domain, the form picks up the default, which could explain #6:

6. You have to set back the default language of the main domain to english and it will set back all others domains with english as default language.

If you don't set any value for a domain, it just silently inherits the default value.

#13

Junro - June 21, 2009 - 22:12

User Default Domains was enable, useless for me, my users are not assign to a default domain. So I disable it and will keep desable, don't need it I think.

1) reimport packages with l10n module: /admin/build/translate/import/package

Looks good!

2) Installing a new language

Always the same problem with the main domain, but it's wird because only one of my 4 sub-domains with english as default language has switched to the new language added.

ps: my enable domain access module in attach file

AttachmentSize
domain_access_module.jpg 436.64 KB

#14

Junro - June 21, 2009 - 22:16

Yes maybe you're right.

#15

Junro - June 21, 2009 - 22:18

Anyway it's not a big problem, when I will have all my languages installed, I should not have this problem anymore. (if reimport packages is ok).

Thanks for you're attention to this little problem :)

#16

agentrickard - June 22, 2009 - 14:51

Well, this is a release blocker, so just saying "it is not a problem" is not a solution.

#17

Junro - June 22, 2009 - 17:52
Title:Changing translations of a language of sub-domains change the default language of others domains» Switch to a sub-domains with a new default language added change default language of others domains.

Sure, what I was saying is it's not a critical bug. As I will I new informations about it, I will report it here.

ps: I can't find a good title to this issue, because we don't know exactle where the problem come from. If you want to change it... in better english :)

#18

agentrickard - June 24, 2009 - 15:01

This could be a i10n issue, since I have never used nor tested that module.

#19

agentrickard - June 28, 2009 - 15:58
Status:active» postponed (maintainer needs more info)

This is not a release blocker.

#20

Junro - June 28, 2009 - 22:31

I will check all this, with l10n & i18n modules as soon as come back home in 3 days.

#21

Junro - July 7, 2009 - 01:48
Project:Domain Access» Localization client
Version:6.x-2.0-rc8» 6.x-1.7
Status:postponed (maintainer needs more info)» active

Looks like l10n issue (Localization client).

Anyway I prefer to move this issue there than i18n who have so many issues, and it's the same maintainer.

#22

agentrickard - July 7, 2009 - 14:25

Interesting. I will monitor the issue.

#23

mrgoltra - August 10, 2009 - 21:55

subscribing. I am getting this too.

 
 

Drupal is a registered trademark of Dries Buytaert.