Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

Add translation routing #54

Closed
hartsick opened this issue Jan 10, 2022 · 2 comments · Fixed by #56
Closed

Add translation routing #54

hartsick opened this issue Jan 10, 2022 · 2 comments · Fixed by #56
Assignees

Comments

@hartsick
Copy link
Contributor

hartsick commented Jan 10, 2022

Some options with their benefits and drawbacks: https://guides.rubyonrails.org/i18n.html

USA.gov has two URLs: usa.gov and usa.gov/espanol
USPS uses subdomains: usps.com, es.usps.com, zh.usps.com

Believe we should use URL params (eg .gov/en/ or .gov/es) to reduce amount of DNS configuration

Supports #40 #39

@rahearn
Copy link
Collaborator

rahearn commented Jan 10, 2022

FWIW, I think path-based will be easier to implement in our time window

@hursey013
Copy link
Collaborator

Reminder to update hardcoded paths in views/application/_header.html.erb to reflect language routing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants