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

Restrict Japanese to Residents of Japan #299

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

cassidysymons
Copy link
Collaborator

No description provided.

@@ -68,6 +68,32 @@
$("#state").empty();
}

// Special case to prevent users outside Japan from using Japanese as their language
$('#language').empty();
if (code == "JP") {
Copy link
Member

Choose a reason for hiding this comment

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

Is "code" derived from language tag rather than country? Output on here is hard via phone :/

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No, it's the country that the user selects for their residence.

Copy link
Member

Choose a reason for hiding this comment

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

Thanks!

@cassidysymons cassidysymons merged commit 323aefb into master Nov 20, 2023
3 checks passed
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.

2 participants