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

Display store view name #4

Open
imino123 opened this issue Sep 11, 2020 · 2 comments
Open

Display store view name #4

imino123 opened this issue Sep 11, 2020 · 2 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@imino123
Copy link

I was wondering if there is any way to display the store view name rather than the language/language code?

Would this be possible to do by editing the languages.phtml code or the StoreSwitchModel.php code?

This is not an issue, just a feature request. If I've posted this in the wrong section, feel free to remove this or I could delete this post.

@amenk
Copy link
Member

amenk commented Sep 11, 2020

It should be possible to add this as an configuration option.

Would you like to make a pull request?

@amenk
Copy link
Member

amenk commented Sep 11, 2020

See

public function getStoreSwitchLabel(StoreInterface $store): string

For a place to start

@amenk amenk added good first issue Good for newcomers help wanted Extra attention is needed labels May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants