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

chore: debug i18n #161

Merged
merged 1 commit into from
Feb 8, 2022
Merged

chore: debug i18n #161

merged 1 commit into from
Feb 8, 2022

Conversation

razbakov
Copy link
Contributor

@razbakov razbakov commented Feb 8, 2022

Set environment variable DEBUG_I18N=1 to activate i18n debugging mode:

  • it will add a new language "DEBUG" in language picker
  • fallback language will be set to empty debug dictionary
  • all strings translations will be shown as keys

Demo: https://wedance-razbakov.netlify.app/

Screenshot 2022-02-08 at 14 16 19

@razbakov razbakov self-assigned this Feb 8, 2022
@razbakov razbakov changed the base branch from main to beta February 8, 2022 13:18
@razbakov razbakov added the chore A tedious but necessary task label Feb 8, 2022
@razbakov razbakov merged commit 06d76d3 into beta Feb 8, 2022
@razbakov razbakov deleted the debug-i18n branch February 8, 2022 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore A tedious but necessary task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants