Problem/Motivation

On the Status Report, a warning is issued saying "Language English: Your privacy policy link is pointing at the front page", but the /admin/config/system/eu-cookie-compliance/settings page does not have a "translation" tab.

Steps to reproduce

D9 instance with English and German activated as languages, but the entire site is in German. English is just included for admin stuff.

Proposed resolution

Ommit the warning when there is no active translation.

CommentFileSizeAuthor
#14 Untitled.png16.48 KBsvenryen
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ProperCroc created an issue. See original summary.

svenryen made their first commit to this issue’s fork.

svenryen’s picture

Hi @ProperCroc!

First of all, thank you for your report and apologies for taking a while to respond.

Have a look at the patch in the MR and check if it solves your issue.

https://git.drupalcode.org/project/eu-cookie-compliance/-/merge_requests...

svenryen’s picture

Status: Active » Needs review

  • svenryen committed 59f504f on 8.x-1.x
    Issue #3269529 by svenryen, ProperCroc: Warning "Your privacy policy...
svenryen’s picture

Status: Needs review » Fixed
propercroc’s picture

Hey @svenryen , thanks a lot!

propercroc’s picture

Hi svenryen,

I checked out the repo with VisualStudio and checked out the issue branch and tested it on my website, but unfortunately, I could not get rid of the status message.

Is there anything I can test to help you?

propercroc’s picture

Status: Fixed » Needs review
svenryen’s picture

@ProperCroc, what languages do you have enabled? What's your default language and which languages have translations for this module?

svenryen’s picture

Status: Needs review » Needs work
propercroc’s picture

On admin/config/regional/language, I have German and English, with German as default.

I am not sure what you mean by “which langs have translations for this module?”. Which module, and how could I find out?

svenryen’s picture

StatusFileSize
new16.48 KB

@ProperCroc, does it say "Add" next to any of the languages on the translation page (admin/config/system/eu-cookie-compliance/settings/translate)?

"This module" being EU Cookie Compliance.

Showing the language list for EU Cookie Compliance translations. Norwegian, English and German are available and the config is not translated to German yet

propercroc’s picture

@svenryen That path (admin/config/system/eu-cookie-compliance/settings/translate) returns a 404 on this instance. There is also no tab "translation" on /admin/config/system/eu-cookie-compliance/settings . Then I checked another Drupal instance I have and there it exists, so I know what you mean.

Is it possible that this does not exist because I have "Configuration Translation" disabled? Content Translation, Interface Translation and Language are all enabled on /admin/modules.

svenryen’s picture

Thanks for the additional info. That was helpful. I'll take a look this afternoon.

svenryen’s picture

Didn't manage to take a look yesterday. Will look at it today.

  • svenryen committed 7ab1eea on 8.x-1.x
    Issue #3269529 by svenryen, ProperCroc: Warning "Your privacy policy...
svenryen’s picture

Status: Needs work » Fixed
propercroc’s picture

awesome, that worked out well! thank you!

Status: Fixed » Closed (fixed)

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