visitscotland / dot-com-brxm

MIT License
0 stars 1 forks source link

Language pages displaying in English #365

Open MichaelGrahamVS opened 11 months ago

MichaelGrahamVS commented 11 months ago

Raised by

Ailsa Dempsey

Describe the bug

We are seeing something odd where language pages are showing in English for some members of the team.

This is the page: https://www.visitscotland.com/things-to-do/landscapes-nature/dark-sky-parks-sites

Linked to from an email campaign (e.g. https://www.visitscotland.com/de-de/things-to-do/landscapes-nature/dark-sky-parks-sites?utm_source=marketo&utm_medium=email&utm_campaign=RM-202401-Email-Coorie%20Connections%20-%20DEU&mkt_tok=NjM4LUhIWi01MTAAAAGQJsE1QdK4hvswkPm9zjHhs4alIuc6hWWvJJ9ZNlx5LPPk9yiI1SAIfYqJzpE4mS4gRnqFNdJ0-0jYCM8M6Kc)

When viewing the page, some members are seeing it in language, while others are seeing it in English.

I have experienced both (it appearing in correct language, and also appearing in English).

Do you have any idea why this would be happening? We are seeing this behaviour for this page in all languages.

We have tested on and off VPN and on multiple browsers (surface pro edge and chrome; iPhone 8 safari; laptop and Edge).

Thanks Ailsa

Ailsa Dempsey (she/her) Marketing Automation Manager, Performance Marketing 90 Saint Vincent Street, Glasgow, G2 5UB T: 0131 472 2046 E: ailsa.dempsey@visitscotland.com

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. See page is in English

Expected behavior

Page should be in German

Page URL

URL of page where the bug exists

Environment

Live

Browser

We have tested on and off VPN and on multiple browsers (surface pro edge and chrome; iPhone 8 safari; laptop and Edge).

Device and version

Desktop PC

Impact on end user

Incorrect language displayed for end user intermittently

Impact on product development

Additional context

Add any other context about the problem here.

MichaelGrahamVS commented 11 months ago

Hi @jlrhurta whenever you're back in office it would be great if this could be looked at as a priority please. I finish up today but will check in tomorrow afternoon.

jcalcines commented 11 months ago

Hello @MichaelG-PO

The provided URL is wrong for the German site. In the English channel, the page is dark-sky-parks-sites but for other languages is dark-sky-park-sites (Notice that park is plural just for English)

Since we have a fallback mechanism when a page does not exist in a language, the English Content is provided on a language URL, so the experience is not broken for the website user.

MichaelGrahamVS commented 11 months ago

Hi Ailsa,

Please see below from Jose. The issue is caused by a typo in the URL - it’s not actually a bug. Generally speaking URLs should be the same though, aside from language parameters. I’ll find out why it was different in this case - most likely human error.

Thanks,

Michael

Michael Graham

Senior Product Owner, Digital Delivery

VisitScotland, Great Glen House, Leachkin Road, Inverness, Highland, IV3 8NW

E: @.**@.>

S: https://www.linkedin.com/in/michael-graham-visitscotland/


From: Jose Calcines @.> Sent: 21 December 2023 12:50 To: visitscotland/dot-com-brxm @.> Cc: Michael Graham @.>; Mention @.> Subject: Re: [visitscotland/dot-com-brxm] Language pages displaying in English (Issue #365)

This email originated from outside of VisitScotland. Please do not click links or open attachments unless you recognise the source of this email and know the content is safe.

Hello @MichaelG-POhttps://github.com/MichaelG-PO

The provided URL is wrong for the German site. In the English channel, the page is dark-sky-parks-sites but for other languages is dark-sky-park-sites (Notice that park is plural just for English)

Since we have a fallback mechanism when a page does not exist in a language, the English Content is provided on a language URL, so the experience is not broken for the website user.

— Reply to this email directly, view it on GitHubhttps://github.com/visitscotland/dot-com-brxm/issues/365#issuecomment-1866192810, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BANQ2IDTQZUA27GMNLCV2JTYKQWCZAVCNFSM6AAAAABA5GGDV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRWGE4TEOBRGA. You are receiving this because you were mentioned.Message ID: @.***>

VisitScotland is a leader in responsible tourism, making Scotland a better place for people to live and visit. As an employer, we offer a world-class environment for the best talent in Scotland, embracing inclusive, flexible work practices and celebrating the diversity of our people.

You can find inspiration for future visits to Scotland on our consumer website.https://www.visitscotland.com For information on the organisation, including working for us and the industry support we provide, visit our corporate website.https://www.visitscotland.org


Before you print think about the ENVIRONMENT

This email and any attachments are private and confidential. If you have received this email in error, please immediately notify the sender and permanently remove the email from your system. If you receive this email in error, you must not use, copy or disclose any of the information contained in this e-mail or any attachments.

Any views or opinions expressed in this email and any attachments are those of the sender and do not necessarily represent the views or opinions of VisitScotland. Please note that VisitScotland’s email system (including the content of emails and attachments) is subject to monitoring by us for the purposes of security and training.

Tha am post-d seo (agus faidhle sam bith na chois) dìomhair agus sochairichte. Mas ann le mearachd a tha thu air am post-d fhaighinn, cuir fios gun dàil chun neach a chur thugaibh e agus dubh às an teachdaireachd-sa sa bhad. Na dèan lethbhreac den fhiosrachadh, na foillsich e ann an dòigh sam bith, na dèan gnìomh ri a linn.

Dh'fhaodadh beachdan pearsanta a bhith gan cur an cèill sam post-d seo nach eil a' riochdachadh beachdan VisitScotland. Tha siostam post-dealain VisitScotland (an teachdaireachd sam post-dealain seo agus ceangalachain sam bith) ga mheasadh agus ga chlàradh gu tuaireamach airson adhbharan tèarainteachd agus trèanadh.

Tha VisitScotland a’ comhairleachadh gu bheil sibh a’ fosgladh puist-d agus cheangalachain aig ur cunnart fhèin.