After upgrading files and database the translation tabs are gone, and translating by way of using the "previous URL" is also not working (admin/config/system/eu-cookie-compliance/nl).

The variable_realm and i18n_variable modules are enabled, /admin/config/regional/i18n/variable shows
EU Cookie Compliance Settings for the EU Cookie Compliance module as checked.

I am also unable to translate via /admin/config/regional/translate/translate

Comments

Miriammm created an issue. See original summary.

miriammm’s picture

Issue summary: View changes
svenryen’s picture

Thanks for the report. I'll take a look tonight.

svenryen’s picture

Category: Bug report » Support request
Priority: Major » Normal
svenryen’s picture

Issue summary: View changes

Hi Miriammm!

It seems to me that you updated from a version earlier than 1.15, which is when #2528272: Administration form is not compatible with i18n was introduced.

We changed the translation system, so there are no longer tabs at the top of the settings page.

Instead, what you have to do is to install i18n_variable and its dependencies, then go to /admin/config/regional/i18n/variable and enable the translation of eu_cookie_compliance on that page. Then you will have a field at the top of the configuration page that allows you to switch language.

Only local images are allowed.

See if that helps resolve your situation. If not, feel free to write in and I'll assist you.

svenryen’s picture

Status: Active » Closed (works as designed)
miriammm’s picture

Thank you for the tips, unfortunately i18n_variable and its dependencies were already installed, and /admin/config/regional/i18n/variable also had the translation of eu_cookie_compliance checked.

I am not seeing the Multilingual variables-link on the configuration page,

EU Cookie Compliance
Warning: This form is domain-sensitive, be sure you select the proper domain before saving.
Note: In order for the module to work, $scripts needs to be output before $page_bottom in your html.tpl.php.

Enable banner

I tried uninstalling and installing the module, but this did not change the issue.

svenryen’s picture

Do you use drush? Can you run `drush pml --status=Enabled --pipe` and either send me the output or paste it here? I think it's a module conflict, so I'd like to see what the site is using.

svenryen’s picture

I really did a lot of testing to see what was going on.

I could get to your situation, but only if I modified the `eu_cookie_compliance_variable_info` function to add the line

`'multidomain' => TRUE,`

By any chance, can you try to disable the `domain_variable_i18n` module and see if that helps?

svenryen’s picture

Aha, now I see what's going on. Instead of using the modules "domain_settings" and "domain_conf", you need to migrate the site to use "domain_variable_i18n", and then you need to apply the attached patch (or wait a few days for me to tag a release).

domain_conf doesn't play very well with multilingual sites.

svenryen’s picture

Status: Closed (works as designed) » Fixed
miriammm’s picture

Thank you for the detailed info and testing!

Status: Fixed » Closed (fixed)

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