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

Select Language with geolocation #31

Open
nworbnhoj opened this issue Mar 23, 2020 · 0 comments
Open

Select Language with geolocation #31

nworbnhoj opened this issue Mar 23, 2020 · 0 comments

Comments

@nworbnhoj
Copy link
Owner

When the Player has not yet nominated a Language then make an automatic language selection based on geo-location.

The stub for this geo-located language selection is contained in the function:
Page->selectLanguage()

basically .....
Use the language requested by the Player in the current http POST
if no POST language then continue to use the language set for the SESSION
if no SESSION language then use the language set in the Player account
if no Player language then choose a language based on the geo-location (not implemented)
if geo-location fails then default to English

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