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

New variable defines default language of website #76

Open
michael-milette opened this issue Jan 16, 2014 · 0 comments
Open

New variable defines default language of website #76

michael-milette opened this issue Jan 16, 2014 · 0 comments

Comments

@michael-milette
Copy link
Contributor

As long as we are in development mode, would it be possible to add a new variables?

In the demos-php/config/config.php file:

This one would control the default language for the website:
$_SITE['defaultlang'] = (!isset($_SITE['defaultlang']) ? 'en' : $_SITE['defaultlang']);

It would be used in several places including to determine:

  • Which language comes first in the splash screen.
  • Which language comes first in the server message page.
  • Which language comes first in the language selection menu in the upper-right corner of content pages so that their positioning is consistent like the HTML version and no longer have to swap as they did in some of the wet-boew-php 3.1 themes.

Best regards,

Michael Milette

@michael-milette michael-milette mentioned this issue Jan 16, 2014
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant