Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

craft.app.i18n.primarySiteLocale doesn't return the primary Site's locale #3064

Closed
mdominguez opened this issue Jul 4, 2018 · 1 comment
Closed

Comments

@mdominguez
Copy link

Description

I'm having 4 sites (nl / fr / en / de) where the 'nl' one is the primary site. view screenshot

So logically when I want to output the primary Site's locale, it should output 'nl' instead of 'de' (where 'de' is just the first Site listed, NOT the primary one)

view screenshot

Steps to reproduce

  1. Create primary site first with 'nl'
  2. Then create other site eg: 'de'

Additional info

  • Craft version: Craft CMS 3.0.13.2
  • PHP version: 7.1.16
  • Database driver & version:
  • Plugins & versions:
@mdominguez
Copy link
Author

mdominguez commented Jul 4, 2018

Duplicate of #3063 but here with a couple of screenshots to make it clear :)

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

No branches or pull requests

2 participants