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

Automate /locales/ page via a configurable list in settings #6454

Closed
alexgibson opened this issue Nov 9, 2018 · 1 comment
Closed

Automate /locales/ page via a configurable list in settings #6454

alexgibson opened this issue Nov 9, 2018 · 1 comment
Assignees
Labels
Papercuts 💸 Tech debt payoff

Comments

@alexgibson
Copy link
Member

alexgibson commented Nov 9, 2018

We added a new /locales/ page in #6397, which is currently a hard-coded HTML template, containing the currently active locales for which we have home page transaltions. It would be great to make updating this list slightly more configurable.

While I don't think it necessarily needs to be 100% automated, having a configurable list in settings might be a happy medium. Paul suggested something like the following may work, which we could add to product-details and query in the template:

LOCALES_PAGE = {
    'america': ['en-US', 'en-CA', 'ex-MX', ...],
    'apac': [...],
}

/cc @pmac

@alexgibson alexgibson added the Papercuts 💸 Tech debt payoff label Nov 9, 2018
@alexgibson
Copy link
Member Author

/cc @rraue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Papercuts 💸 Tech debt payoff
Projects
None yet
Development

No branches or pull requests

2 participants