Skip to content

Not adding lang for targetLang === en#749

Closed
himorin wants to merge 1 commit intogh-pagesfrom
himorin/langswitch-remove-en
Closed

Not adding lang for targetLang === en#749
himorin wants to merge 1 commit intogh-pagesfrom
himorin/langswitch-remove-en

Conversation

@himorin
Copy link
Copy Markdown
Contributor

@himorin himorin commented Aug 4, 2025

closes #743
I suppose this should be somekind of typo, since targetLang === 'en' is specifically chosen but building the same output.

closes #743 
I suppose this should be somekind of typo, since targetLang === 'en' is specifically chosen but building the same output.
@himorin himorin requested a review from xfq August 4, 2025 21:48
@netlify
Copy link
Copy Markdown

netlify Bot commented Aug 4, 2025

Deploy Preview for i18n-drafts ready!

Name Link
🔨 Latest commit 08f6efb
🔍 Latest deploy log https://app.netlify.com/projects/i18n-drafts/deploys/68912ac2037d6f000859e17b
😎 Deploy Preview https://deploy-preview-749--i18n-drafts.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

var path = ";path=/"
document.cookie = 'w3ci18nlang='+targetLang+expires+path
}
if (targetLang === 'en') targetLang = '.en.html'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may have some pages with a .en extension, @r12a do you know?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xfq
Copy link
Copy Markdown
Member

xfq commented Mar 25, 2026

Fixed in b5105ee

@xfq xfq closed this Mar 25, 2026
@xfq
Copy link
Copy Markdown
Member

xfq commented Mar 25, 2026

Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Broken link

2 participants