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

core(i18n): roll latest TC messages #5802

Merged
merged 6 commits into from
Aug 8, 2018
Merged

core(i18n): roll latest TC messages #5802

merged 6 commits into from
Aug 8, 2018

Conversation

paulirish
Copy link
Member

@paulirish paulirish commented Aug 7, 2018

I fixed up the upstream BUILD file to match, so it doesn't output files that are duplicates.

  • en-IE -> en-GB for the canonical non-american english
  • added a few more aliases, based on the duplicates I got back. The actual file is whatever appears to be a more canonical locale name. https://www.unicode.org/cldr/charts/latest/supplemental/aliases.html
    • tagalog aliased to filipino
    • iw aliased to hebrew
    • in aliased to 'id' (indonesian)
    • norwegian Bokmål aliased to norwegian
    • moldovan aliased to romanian
    • bosnian aliased to croatian
  • serbian w/ latin characters added. (sr is cyrillic)

(I apologize in advance if any of this offends someone. Please let me know if any of these mappings are incorrect.)

Copy link
Member

@brendankenny brendankenny left a comment

Choose a reason for hiding this comment

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

LGTM

'zh': require('./zh-CN.json'),
'zh-CN': require('./zh-CN.json'),
'zh': require('./zh.json'),
'zh-CN': require('./zh.json'), // Alias of 'zh'
Copy link
Member

Choose a reason for hiding this comment

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

do you want to include this since it'll fall back to zh anyways?


'gsw': require('./de.json'), // swiss german. identical (for our purposes) to 'de'
// TODO: en-GB has just ~10 messages that are different from en-US. We should only ship those.
'en-AU': require('./en-GB.json'), // Don't fallback to en (which -> en-US)
Copy link
Member

Choose a reason for hiding this comment

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

just use Alias of 'en-GB' for all these as for entries below?

@paulirish paulirish merged commit c825af1 into master Aug 8, 2018
@paulirish paulirish deleted the tcroll2 branch August 8, 2018 00:15
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