-
Notifications
You must be signed in to change notification settings - Fork 35
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
Copy over new version of Milo's geo-based locales #130
Conversation
Hello, I'm Franklin Bot and I will run some test suites that validate the page speed.
|
Codecov Report
@@ Coverage Diff @@
## main #130 +/- ##
=======================================
Coverage ? 96.36%
=======================================
Files ? 6
Lines ? 468
Branches ? 0
=======================================
Hits ? 451
Misses ? 17
Partials ? 0 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Alphabetizing for the win!
@hparra There's no ui or functionality to verify here, right? It's just adding the new |
@meganthecoder There is new functionality in Milo that is enabled when these values exist. You can confirm in test urls that HTML lang attribute now only uses language subtag instead of full tag, e.g |
@hparra Cool, I updated the description to reflect that and assigned myself to verify. Is the |
Not yet. A couple of new features use it and I will begin porting existing features to use it one by one -- those changes will be in Milo only but it will affect all Milo consumers. There will be additional comms of those. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a few locales added that we don't support in bacom. Also, when I was testing, I saw that CaaS cards weren't loading for la
cl: { ietf: 'es-CL', lang: 'es', reg: 'CL', tk: 'oln4yqj.css' }, | ||
cn: { ietf: 'zh-CN', lang: 'zh', reg: 'CN', tk: 'puu3xkp' }, | ||
co: { ietf: 'es-CO', lang: 'es', reg: 'CO', tk: 'oln4yqj.css' }, | ||
cr: { ietf: 'es-419', lang: 'es', reg: 'CR', tk: 'oln4yqj.css' }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BACOM doesn't support cr (costa rica), and if you notice, we didn't have it in our config before. We redirect this locale to la. Reference: https://wiki.corp.adobe.com/pages/viewpage.action?pageId=2301888547
cr: { ietf: 'es-419', lang: 'es', reg: 'CR', tk: 'oln4yqj.css' }, |
cz: { ietf: 'cs-CZ', lang: 'cs', reg: 'CZ', tk: 'aaz7dvd.css' }, | ||
de: { ietf: 'de-DE', lang: 'de', reg: 'DE', tk: 'vin7zsi.css' }, | ||
dk: { ietf: 'da-DK', lang: 'da', reg: 'DK', tk: 'aaz7dvd.css' }, | ||
ec: { ietf: 'es-419', lang: 'es', reg: 'EC', tk: 'oln4yqj.css' }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same for ec (ecuador)
ec: { ietf: 'es-419', lang: 'es', reg: 'EC', tk: 'oln4yqj.css' }, |
fr: { ietf: 'fr-FR', lang: 'fr', reg: 'FR', tk: 'vrk5vyv.css' }, | ||
gr_el: { ietf: 'el', lang: 'el', reg: 'GR', tk: 'fnx0rsr.css' }, | ||
gr_en: { ietf: 'en-GR', lang: 'en', reg: 'GR', tk: 'pps7abe.css' }, | ||
gt: { ietf: 'es-419', lang: 'es', reg: 'GT', tk: 'oln4yqj.css' }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same for gt (guatemala)
gt: { ietf: 'es-419', lang: 'es', reg: 'GT', tk: 'oln4yqj.css' }, |
ph_en: { ietf: 'en', lang: 'en', reg: 'PH', tk: 'pps7abe.css' }, | ||
ph_fil: { ietf: 'fil-PH', lang: 'fil', reg: 'PH', tk: 'ict8rmp.css' }, | ||
pl: { ietf: 'pl-PL', lang: 'pl', reg: 'PL', tk: 'aaz7dvd.css' }, | ||
pr: { ietf: 'es-419', lang: 'es', reg: 'PR', tk: 'oln4yqj.css' }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same for pr (puerto rico)
pr: { ietf: 'es-419', lang: 'es', reg: 'PR', tk: 'oln4yqj.css' }, |
This should be OK.
This is probably not OK and is the sort of thing I was afraid of. Can we sync on this so I can understand what is happening? |
Waiting for adobecom/milo#945 |
@hparra @meganthecoder looks like |
I believe a different solution was determined here: adobecom/milo#963 @hparra Can this PR be closed? |
@meganthecoder I was waiting until handoff to close all PRs but I think we're ok. |
reg
property for future useSee adobecom/milo#915 and adobecom/milo#938
Test URLs: