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

Translate content into Simplified Chinese #1067

Open
tunetheweb opened this issue Jul 20, 2020 · 32 comments
Open

Translate content into Simplified Chinese #1067

tunetheweb opened this issue Jul 20, 2020 · 32 comments
Assignees
Labels
good first issue Good for newcomers translation world wide web

Comments

@tunetheweb
Copy link
Member

tunetheweb commented Jul 20, 2020

These are the core templates - without which we cannot release any translated chapters. They are in the language specific templates directory:

2022

  • base.html -
  • contributors.html -
  • index.html -
  • table_of_contents.html -

2021

  • base.html -
  • base.html - foreword
  • contributors.html -
  • index.html -
  • table_of_contents.html -

2020

2019

These are the chapters to be translated, in rough order of popularity. They exist in the content directory:

2022

2021

  • css -
  • javascript -
  • markup -
  • structured-data -
  • media -
  • webassembly -
  • third-parties -
  • seo -
  • accessibility -
  • performance -
  • privacy -
  • security -
  • mobile-web -
  • capabilities -
  • pwa -
  • cms -
  • ecommerce -
  • jamstack -
  • page-weight -
  • compression -
  • caching -
  • cdn -
  • resource-hints -
  • http -

2020

  • css -
  • javascript - @Zuckjet
  • seo - @Zuckjet
  • markup -
  • accessibility -@Zuckjet
  • cms -
  • performance- @Zuckjet
  • security -
  • jamstack -
  • fonts -
  • mobile-web -
  • pwa -
  • http2- @chengxicn
  • capabilities- @chengxicn
  • third-parties -
  • page-weight -
  • caching -
  • resource-hints -
  • privacy -
  • compression -
  • ecommerce -
  • media -

2019

  • javascript -
  • css -
  • seo -
  • performance - @chengxicn
  • http2 -
  • markup -
  • third-parties -
  • fonts -
  • accessibility - @chengxicn
  • pwa - @limhenry: Google Docs
  • cms -
  • security -
  • media -
  • mobile-web -
  • cdn - @chengxicn
  • ecommerce -
  • page-weight -
  • caching -
  • compression -
  • resource-hints -

Additionally the following pages need translated too in the language specific templates directory, but less important than core templates and chapters:

Please include "Makes progress on #1067" in all pull requests so a link is created from the PR to this issue.

There is no need to translate the chapters HTML pages in src/templates/en/2019/chapters/ nor the src/templates/en/2019/ebook.html file as they are generated off the markdown combined with the above templates.


Common notes for writing consistency are here: https://github.com/HTTPArchive/almanac.httparchive.org/wiki/Translators'-Guide. Feel free to edit that and/or add Chinese-specific extras by editing this comment.

Chinese specific extra advice:

@chengxicn
Copy link
Contributor

start translating language specific templates directory.

@tunetheweb
Copy link
Member Author

We found it best to put your name besides the parts you are doing on the first comment to tell others not to look at that one. I’ve done that with base.html as an example. Feel free to remove it from there and/or add your name to others you are working on so @AppleTsai knows to work on other ones.

@AbbyTsai
Copy link
Contributor

Thanks your warm markers and tips.

chengxicn added a commit to chengxicn/almanac.httparchive.org that referenced this issue Jul 21, 2020
chengxicn added a commit to chengxicn/almanac.httparchive.org that referenced this issue Jul 21, 2020
@chengxicn
Copy link
Contributor

Submitted first PR,but there are some errors(from 311) in accessibility.md check https://github.com/HTTPArchive/almanac.httparchive.org/pull/1072/checks , but I only translated front content,not sure why there are hard tabs can't pass the check yet. So have to delete accessibility.md and submitted a new PR again.

@rviscomi
Copy link
Member

@chengxicn @AbbyTsai I'd like to post something from the HTTP Archive Twitter account to promote this translation effort and hopefully find more translators to help with it. Could someone translate this text for the tweet?

Do you speak Chinese? Help us translate the Web Almanac as part of our effort to make it globally accessible to the web community!

Thanks for your help!

@AbbyTsai
Copy link
Contributor

AbbyTsai commented Jul 26, 2020

嗨你喜歡英文嗎?歡迎加入Web Almanac網絡社群.讓我們攜手共遊無邊際的翻譯世界.
@chengxicn it's open to your comment.
I'll try to leave the message to network, hoping to pull more helper in translation.

@chengxicn
Copy link
Contributor

chengxicn commented Jul 26, 2020

@chengxicn @AbbyTsai I'd like to post something from the HTTP Archive Twitter account to promote this translation effort and hopefully find more translators to help with it. Could someone translate this text for the tweet?

Do you speak Chinese? Help us translate the Web Almanac as part of our effort to make it globally accessible to the web community!

Thanks for your help!

您会说中文吗? 来帮助我们翻译Web Almanac 网络年鉴吧!让我们一起努力消除障碍,让全球Web社区自由访问!

@rviscomi As I described before #1073 (comment) , mine and @AbbyTsai 's Chinese are very different systems, I'm working on Simplified Chinese and @AbbyTsai is working on Traditional Chinese, So we may need 2 groups of translators.

@rviscomi
Copy link
Member

rviscomi commented Jul 26, 2020

Thanks @AbbyTsai @chengxicn! I'll post two separate tweets using each dialect.

@tunetheweb it'd be good to split this issue into Simplified and Traditional so we can disambiguate for translators. I've renamed #1073 to clarify the dialect. For that PR I'd recommend completing the English translations into Simplified Chinese and waiting for a Simplified Chinese speaker to review it, or merge the PR if we can't find anyone soon. @AbbyTsai would you be able to work on a Traditional Chinese translation in parallel?

With two separate issues I'll be able to link the tweets to their respective dialects.

@tunetheweb tunetheweb changed the title Translate 2019 Content into Chinese Translate 2019 Content into Simplified Chinese Jul 26, 2020
@tunetheweb
Copy link
Member Author

tunetheweb commented Jul 26, 2020

That's done - #1106

Only question remains is do we use the zh folder and URL structure for one or the other?
Or have zh-cn and zh-hk? In which case @chengxicn can you update your PR?

@chengxicn
Copy link
Contributor

I'm not sure if the folders have to comply with the ISO standard? could I name them 'cn-simp' and 'cn-trad' ?

@tunetheweb
Copy link
Member Author

Technically they don't but would prefer to use something that's not completely unusal!

According to this https://stackoverflow.com/a/4894634/2144578 zh_CN and zh_TW seem to be the most common. Don't love introducing case into URLs though but can always revert to lowercase if it causes problems.

But willing to take your steer @chengxicn and @AbbyTsai since I'm sure you browser a lot more Chinese internet sites than me! 😀

@chengxicn
Copy link
Contributor

Updated to zh_CN.

@AbbyTsai
Copy link
Contributor

AbbyTsai commented Jul 26, 2020

@rviscomi @tunetheweb I wish I could have triple hands to deal with both role of analyst and parallel translation, however, things don't go the way. After that schedule, I'll love to do translating in 2020 version. Thanks.
@chengxicn Happy to co-work together. Hoping to partner in the next project.

tunetheweb added a commit that referenced this issue Aug 23, 2020
…us translations. (#1227)

* 1st test

* Chinese translation

* accessibility and base

* ZH translation

* non-chapters HTML template files update

* update templates

* Chinese translate

* Makes progress on #1067

* Makes progress on #1067

* delete space

* debug markdown hardtab

* Update src/templates/zh/2020/contributors.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh/2019/accessibility_statement.html

Co-authored-by: AbbyTsai <[email protected]>

* Update src/templates/zh/2019/methodology.html

Co-authored-by: AbbyTsai <[email protected]>

* update json

* update folder name cn-simp

* updated to zh_CN

* add zh_CN

* Update src/config/2020.json

Co-authored-by: Barry Pollard <[email protected]>

* Update src/language.py

Co-authored-by: Barry Pollard <[email protected]>

* Update src/config/2019.json

Co-authored-by: Barry Pollard <[email protected]>

* Update base.html

* folder name zh-CN

* updated json profile and base.html bio translation

* fixed #1073 @bazzadp and @AbbyTsai's review

* Update src/templates/zh-CN/2019/base.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2019/base.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2019/base.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/config/2020.json

Co-authored-by: Barry Pollard <[email protected]>

* Update src/config/2020.json

Co-authored-by: Barry Pollard <[email protected]>

* Update src/config/2020.json

Co-authored-by: Barry Pollard <[email protected]>

* fix featured_chapters.html and index

* fix 2020 index

* Update src/templates/zh-CN/2019/base.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2019/contributors.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2020/contributors.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2019/base_ebook.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/config/2019.json

* Update src/config/2019.json

* Update src/config/2019.json

* Update src/templates/zh-CN/2019/methodology.html

* Update src/templates/zh-CN/2019/methodology.html

* update featured_chapters.html

* fix 2 issues

- Methodology tables headings (lines 177 - 129, 184 - 186, 190, 200, 212, 218, 265, 266, 271, 275, 279, - should it be translated?
- Base.html (line 1240) - "Generated with PrinceXML"

* accessibility translate and bugs fix

* bug fix

* Update table_of_contents.html

* word error fix

* fix accessibility.md

* Update src/content/zh-CN/2019/accessibility.md

Co-authored-by: Barry Pollard <[email protected]>

* add back this deleted line so the line numbers stay in sync with English version

* delete tabs

* delete white spaces

* fix error

* fix links format caused by editor tool

* grammar fix

* first line updated

* Update src/content/zh-CN/2019/accessibility.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2019/accessibility.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2019/accessibility.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2019/methodology.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2019/table_of_contents.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2019/accessibility.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2019/accessibility.md

Co-authored-by: Barry Pollard <[email protected]>

* change en to cn links,delete white spaces,check commas

* search and delete white spaces

* comma deleted

* performance chapter

* 1 word change

* Update src/content/zh-CN/2019/performance.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2019/performance.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2019/performance.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2019/performance.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2019/featured_chapters.html

Co-authored-by: Barry Pollard <[email protected]>

Co-authored-by: Barry Pollard <[email protected]>
Co-authored-by: AbbyTsai <[email protected]>
@tunetheweb tunetheweb added the good first issue Good for newcomers label Aug 25, 2020
sudheendrachari pushed a commit that referenced this issue Sep 15, 2020
…us translations. (#1227)

* 1st test

* Chinese translation

* accessibility and base

* ZH translation

* non-chapters HTML template files update

* update templates

* Chinese translate

* Makes progress on #1067

* Makes progress on #1067

* delete space

* debug markdown hardtab

* Update src/templates/zh/2020/contributors.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh/2019/accessibility_statement.html

Co-authored-by: AbbyTsai <[email protected]>

* Update src/templates/zh/2019/methodology.html

Co-authored-by: AbbyTsai <[email protected]>

* update json

* update folder name cn-simp

* updated to zh_CN

* add zh_CN

* Update src/config/2020.json

Co-authored-by: Barry Pollard <[email protected]>

* Update src/language.py

Co-authored-by: Barry Pollard <[email protected]>

* Update src/config/2019.json

Co-authored-by: Barry Pollard <[email protected]>

* Update base.html

* folder name zh-CN

* updated json profile and base.html bio translation

* fixed #1073 @bazzadp and @AbbyTsai's review

* Update src/templates/zh-CN/2019/base.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2019/base.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2019/base.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/config/2020.json

Co-authored-by: Barry Pollard <[email protected]>

* Update src/config/2020.json

Co-authored-by: Barry Pollard <[email protected]>

* Update src/config/2020.json

Co-authored-by: Barry Pollard <[email protected]>

* fix featured_chapters.html and index

* fix 2020 index

* Update src/templates/zh-CN/2019/base.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2019/contributors.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2020/contributors.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2019/base_ebook.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/config/2019.json

* Update src/config/2019.json

* Update src/config/2019.json

* Update src/templates/zh-CN/2019/methodology.html

* Update src/templates/zh-CN/2019/methodology.html

* update featured_chapters.html

* fix 2 issues

- Methodology tables headings (lines 177 - 129, 184 - 186, 190, 200, 212, 218, 265, 266, 271, 275, 279, - should it be translated?
- Base.html (line 1240) - "Generated with PrinceXML"

* accessibility translate and bugs fix

* bug fix

* Update table_of_contents.html

* word error fix

* fix accessibility.md

* Update src/content/zh-CN/2019/accessibility.md

Co-authored-by: Barry Pollard <[email protected]>

* add back this deleted line so the line numbers stay in sync with English version

* delete tabs

* delete white spaces

* fix error

* fix links format caused by editor tool

* grammar fix

* first line updated

* Update src/content/zh-CN/2019/accessibility.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2019/accessibility.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2019/accessibility.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2019/methodology.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2019/table_of_contents.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2019/accessibility.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2019/accessibility.md

Co-authored-by: Barry Pollard <[email protected]>

* change en to cn links,delete white spaces,check commas

* search and delete white spaces

* comma deleted

* performance chapter

* 1 word change

* Update src/content/zh-CN/2019/performance.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2019/performance.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2019/performance.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2019/performance.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2019/featured_chapters.html

Co-authored-by: Barry Pollard <[email protected]>

Co-authored-by: Barry Pollard <[email protected]>
Co-authored-by: AbbyTsai <[email protected]>
rviscomi added a commit that referenced this issue Sep 16, 2020
* Fixes

Intent: Redesign of year and language switcher

Major Changes:
- Introduce two new macros 'styled_lang_dropdown' and 'styled_year_dropdown'
- Existing DOM structure is retained and logic to generate those have been moved into
'native_year_dropdown' and 'native_lang_dropdown'
- Existing select-and-option structure will be used for mobile view where native dropdown picker of the
OS will be used

UI/UX details:
- The button which triggers dropdown will look attached to the dropdown that comes up
- Dropdown list will be aligned to the left edge of button if the entire dropdown content can fit into the
viewport
- Else, Right edge of Dropdown list will be aligned to the right edge of button
- Chevron in the button  will animate to a check mark when the list is opened
- On hover of the items in dropdown menu, its background color and font color will change

Testing:
- Manually verified the behaviour of both the switchers
- Verified that options are keyboard focusable (Once menu is open the list items are Tab-able,
clicking Tab on last option navigates out of the list to the next focusable element)
- Verified that options are reachable via screen reader also

* fixed stylelint errors

* Address review comments

* fix lint errors

* Address review comments

* adding lang for anchor

* css lint error fix

* Portuguese translation of base template (#1215)

* Translate-pt contributors.html

* Translate-pt error.html

* Update error.html

* Update src/templates/pt/2019/error.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/pt/2019/error.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/pt/2019/contributors.html

Co-authored-by: Barry Pollard <[email protected]>

* Portuguese translation of base template 2020

* Portuguese translation of base template

* Portuguese translation of base template

* Portuguese translation of base template

* Update src/templates/pt/2019/error.html

Co-authored-by: Barry Pollard <[email protected]>

Co-authored-by: Barry Pollard <[email protected]>

* Generate Chapters (#1220)

Co-authored-by: bazzadp <[email protected]>

* Bump ejs from 3.1.3 to 3.1.5 in /src (#1225)

Bumps [ejs](https://github.com/mde/ejs) from 3.1.3 to 3.1.5.
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/master/CHANGELOG.md)
- [Commits](mde/ejs@v3.1.3...v3.1.5)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix lighthouse errors (#1216)

* Generate Chapters (#1226)

Co-authored-by: bazzadp <[email protected]>

* Remove flex grow to top align these (#1231)

* Lint the ultimate HTML generated for the site (#1235)

* Lint generated HTML

* Freeze Linter version

* Correct Linter command

* Fix linter version

* Fix cleanup

* Code cleanup

* Change to new node version syntax

* Track changes between releases (#1238)

* Chinese translation of Performance chapter + some clean ups of previous translations. (#1227)

* 1st test

* Chinese translation

* accessibility and base

* ZH translation

* non-chapters HTML template files update

* update templates

* Chinese translate

* Makes progress on #1067

* Makes progress on #1067

* delete space

* debug markdown hardtab

* Update src/templates/zh/2020/contributors.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh/2019/accessibility_statement.html

Co-authored-by: AbbyTsai <[email protected]>

* Update src/templates/zh/2019/methodology.html

Co-authored-by: AbbyTsai <[email protected]>

* update json

* update folder name cn-simp

* updated to zh_CN

* add zh_CN

* Update src/config/2020.json

Co-authored-by: Barry Pollard <[email protected]>

* Update src/language.py

Co-authored-by: Barry Pollard <[email protected]>

* Update src/config/2019.json

Co-authored-by: Barry Pollard <[email protected]>

* Update base.html

* folder name zh-CN

* updated json profile and base.html bio translation

* fixed #1073 @bazzadp and @AbbyTsai's review

* Update src/templates/zh-CN/2019/base.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2019/base.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2019/base.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/config/2020.json

Co-authored-by: Barry Pollard <[email protected]>

* Update src/config/2020.json

Co-authored-by: Barry Pollard <[email protected]>

* Update src/config/2020.json

Co-authored-by: Barry Pollard <[email protected]>

* fix featured_chapters.html and index

* fix 2020 index

* Update src/templates/zh-CN/2019/base.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2019/contributors.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2020/contributors.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2019/base_ebook.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/config/2019.json

* Update src/config/2019.json

* Update src/config/2019.json

* Update src/templates/zh-CN/2019/methodology.html

* Update src/templates/zh-CN/2019/methodology.html

* update featured_chapters.html

* fix 2 issues

- Methodology tables headings (lines 177 - 129, 184 - 186, 190, 200, 212, 218, 265, 266, 271, 275, 279, - should it be translated?
- Base.html (line 1240) - "Generated with PrinceXML"

* accessibility translate and bugs fix

* bug fix

* Update table_of_contents.html

* word error fix

* fix accessibility.md

* Update src/content/zh-CN/2019/accessibility.md

Co-authored-by: Barry Pollard <[email protected]>

* add back this deleted line so the line numbers stay in sync with English version

* delete tabs

* delete white spaces

* fix error

* fix links format caused by editor tool

* grammar fix

* first line updated

* Update src/content/zh-CN/2019/accessibility.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2019/accessibility.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2019/accessibility.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2019/methodology.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2019/table_of_contents.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2019/accessibility.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2019/accessibility.md

Co-authored-by: Barry Pollard <[email protected]>

* change en to cn links,delete white spaces,check commas

* search and delete white spaces

* comma deleted

* performance chapter

* 1 word change

* Update src/content/zh-CN/2019/performance.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2019/performance.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2019/performance.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2019/performance.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2019/featured_chapters.html

Co-authored-by: Barry Pollard <[email protected]>

Co-authored-by: Barry Pollard <[email protected]>
Co-authored-by: AbbyTsai <[email protected]>

* Generate Chapters (#1239)

Co-authored-by: bazzadp <[email protected]>

* French Translation - JavaScript Chapter (#1218)

* French translation - JavaScript Chapter

Makes progress on #539

* Update src/content/fr/2019/javascript.md

Co-authored-by: Barry Pollard <[email protected]>

* Add translation to featured_chapters

* Fix typo numbers

* Fixes from @nico3333fr 's feedback

Co-authored-by: Barry Pollard <[email protected]>

* Config updates for new chapters and other misc cleanups (#1232)

* Config updates for new chapters and other misc cleanups

* Update src/templates/fr/2019/base.html

Co-authored-by: Boris Schapira <[email protected]>

* Change JAMstack to Jamstack

* Remove regions

* Add Simplified Chinese to README

Co-authored-by: Boris Schapira <[email protected]>

* Generate Chapters (#1240)

Co-authored-by: bazzadp <[email protected]>

* Generate Chapters (#1241)

Co-authored-by: bazzadp <[email protected]>
Co-authored-by: Barry Pollard <[email protected]>

* Translating 2019 Fonts chapter to Spanish (#1234)

* Translating Fonts chapter to Spanish

* Fixing markdown lint errors in 2019 Fonts Spanish translation.

* Translating the featured chapter information to Spanish. Changing Performance to Rendimiento. Translating zachleat bio.

* Generate Chapters (#1242)

Co-authored-by: bazzadp <[email protected]>

* French Translation - All 2019 Authors (#1217)

* fr - all authors

* Fix markup issues

* Generate Ebooks (#1243)

Co-authored-by: bazzadp <[email protected]>

* Bump github/super-linter from v3.7.0 to V3.8.0 (#1244)

Bumps [github/super-linter](https://github.com/github/super-linter) from v3.7.0 to V3.8.0.
- [Release notes](https://github.com/github/super-linter/releases)
- [Commits](github/super-linter@v3.7.0...ef99a48)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/github-script from v2.0.1 to v3 (#1245)

Bumps [actions/github-script](https://github.com/actions/github-script) from v2.0.1 to v3.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](actions/github-script@v2.0.1...626af12)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Set explicitly GitHub Actions versions were not set (#1246)

* Set explicitly GitHub Actions versions where not set

* Remove incorrect version strategy

* Bump github/super-linter from V3.8.0 to v3.8.3 (#1251)

Bumps [github/super-linter](https://github.com/github/super-linter) from V3.8.0 to v3.8.3.
- [Release notes](https://github.com/github/super-linter/releases)
- [Commits](github/super-linter@V3.8.0...9f2c656)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump prettier from 2.0.5 to 2.1.0 in /src (#1250)

Bumps [prettier](https://github.com/prettier/prettier) from 2.0.5 to 2.1.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](prettier/prettier@2.0.5...2.1.0)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Generate Chapters (#1252)

Co-authored-by: bazzadp <[email protected]>

* Fix percentiles in FR translation of JavaScript chapter (#1249)

Using Voice Over, I noticed that using 'p25' is, in fact, read as 'page 25'.

* Generate Chapters (#1255)

Co-authored-by: bazzadp <[email protected]>

* Display Ebook download size on link (#1253)

* Add size to Ebooks download link

* Calc book size dynamically

* Add explanation comment

* Simplify calc

* Review Feedback

* Linting fixes

* Remove generated content from being tracked in Git (#1230)

* Remove generated content

* Add deploy script

* Linting fixes

* Linting and README fixes

* Linting fixes

* Check branch is clean before deploying

* Uncapitalise non-default

* Linting fixes

* Improved deploy method

* Add PDFs back in

* Linting issues

* Uncomment commands

* Increment patch instead of major by default

* Fix typo

* Review feedback and other cleanups

* Fix typo

* Update src/tools/scripts/deploy.sh

Co-authored-by: Sawood Alam <[email protected]>

* Update src/tools/scripts/deploy.sh

Co-authored-by: Sawood Alam <[email protected]>

* Update src/tools/scripts/deploy.sh

Co-authored-by: Sawood Alam <[email protected]>

* Review feedback

* Update src/.gcloudignore

Co-authored-by: Rick Viscomi <[email protected]>

* README updates

* Make deploy.zip smaller

* Cleanup

Co-authored-by: Sawood Alam <[email protected]>
Co-authored-by: Rick Viscomi <[email protected]>

* Bump prettier from 2.1.0 to 2.1.1 in /src (#1257)

Bumps [prettier](https://github.com/prettier/prettier) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](prettier/prettier@2.1.0...2.1.1)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump peter-evans/create-pull-request from v3.1.2 to v3.2.0 (#1260)

Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from v3.1.2 to v3.2.0.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](peter-evans/create-pull-request@v3.1.2...9bf4b30)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* SQL utilities for the BigQuery dataset (#1259)

* sql utils

* parsed_css queries

* third parties

* Voiceover percentiles for English chapters (#1256)

* Update percentile wording

* Add colgroup scope

* Better wway of handling percentile headers

* Missed one

* Generate Chapters (#1263)

Co-authored-by: bazzadp <[email protected]>

* fix empty image formats (#1262)

* Bump github/super-linter from v3.8.3 to v3.9.2 (#1267)

Bumps [github/super-linter](https://github.com/github/super-linter) from v3.8.3 to v3.9.2.
- [Release notes](https://github.com/github/super-linter/releases)
- [Commits](github/super-linter@v3.8.3...7d53a77)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github/super-linter from v3.9.2 to v3.9.3 (#1268)

Bumps [github/super-linter](https://github.com/github/super-linter) from v3.9.2 to v3.9.3.
- [Release notes](https://github.com/github/super-linter/releases)
- [Commits](github/super-linter@v3.9.2...eb0d0ed)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Stop having comma for two person lists (#1266)

* Bump github/super-linter from v3.9.3 to v3.9.4 (#1269)

Bumps [github/super-linter](https://github.com/github/super-linter) from v3.9.3 to v3.9.4.
- [Release notes](https://github.com/github/super-linter/releases)
- [Commits](github/super-linter@v3.9.3...e89faa7)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* GitHub Action to test generated template changes (#1271)

* GitHub Action to test generated template changes

* Fix repo name

* Update .github/workflows/test-template-changes.yml

Co-authored-by: Sawood Alam <[email protected]>

* Update .github/workflows/test-template-changes.yml

Co-authored-by: Sawood Alam <[email protected]>

* Review feedback

Co-authored-by: Sawood Alam <[email protected]>

* Avoid using p10 - p90 in Japanese chapters for accessibility reasons (#1265)

* Generate Chapters (#1272)

Co-authored-by: bazzadp <[email protected]>

* Avoid using p10 - p90 (#1264)

* Generate Chapters (#1273)

Co-authored-by: bazzadp <[email protected]>

* Generate Ebooks (#1274)

Co-authored-by: bazzadp <[email protected]>

* Fix version numbering deploy script (#1275)

* Fix version numbering issue

* Alternative approach to pass linting

* Fix linting errors

* Lint all files on Super Linter upgrade (#1276)

* Lint all files on Super Linter upgrade

* Fix version

* Few small perf fixes for home page (#1277)

* Few small perf fixes for home page

* Optimised images with calibre/image-actions

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Generate Chapters (#1278)

Co-authored-by: bazzadp <[email protected]>

* Bump node-fetch from 2.6.0 to 2.6.1 in /src (#1279)

Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](node-fetch/node-fetch@v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump peter-evans/create-pull-request from v3.2.0 to v3.3.0 (#1280)

Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from v3.2.0 to v3.3.0.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](peter-evans/create-pull-request@v3.2.0...44f76dd)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* CMS 2020 queries (#1087)

* CMS 2020

* WIP: Start on the 2020 CMS Queries

* update to 2020-08-01

* Core Web Vitals by CMS

* CWV distribution

* Lighthouse

* add results sheet URL to README

* new query for CMS adoption YoY without client breakdown

* Update from 2019 to 2020

Co-authored-by: Artem Denysov <[email protected]>

Co-authored-by: Greg Brimble <[email protected]>
Co-authored-by: Artem Denysov <[email protected]>

* Update requests.sql (#1285)

* Update summary_response_bodies.sql (#1286)

* Workaround linting error (#1287)

* Tidy up 2019 sql (#1288)

* COUNT(0) and newlines

* Add date columns to dated Almanac tables

* pwa candidates (#1289)

* Bump pytest from 6.0.1 to 6.0.2 in /src (#1290)

Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@6.0.1...6.0.2)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* PWA table utils (#1291)

* pwa candidates

* pwa candidates

* pwa helpers

* pwa readme

* border color changed to yellow

* duplicate id fix

* Revert "Portuguese translation of base template (#1215)"

This reverts commit b99abef.

* border color changed to yellow

* duplicate id fix

* arrow up listener for footer list

Co-authored-by: William Sandres <[email protected]>
Co-authored-by: Barry Pollard <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: bazzadp <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Cheng Xi <[email protected]>
Co-authored-by: AbbyTsai <[email protected]>
Co-authored-by: Boris Schapira <[email protected]>
Co-authored-by: Carlos Torres <[email protected]>
Co-authored-by: Sawood Alam <[email protected]>
Co-authored-by: Rick Viscomi <[email protected]>
Co-authored-by: Greg Brimble <[email protected]>
Co-authored-by: Artem Denysov <[email protected]>
Co-authored-by: Barry <[email protected]>
@rviscomi rviscomi modified the milestones: 2019 Backlog, 2020 Backlog Nov 11, 2020
@tunetheweb tunetheweb changed the title Translate 2019 Content into Simplified Chinese Translate content into Simplified Chinese Nov 21, 2020
tunetheweb added a commit that referenced this issue Dec 7, 2020
* Chinese:capabilities&methodology 2020

* update

* metadata translate

* Update src/templates/zh-CN/2020/methodology.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2020/capabilities.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2020/capabilities.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2020/capabilities.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2020/capabilities.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2020/capabilities.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2020/capabilities.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2020/capabilities.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2020/capabilities.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/templates/zh-CN/2020/methodology.html

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2020/capabilities.md

Co-authored-by: Barry Pollard <[email protected]>

* Update src/content/zh-CN/2020/capabilities.md

* Update src/content/zh-CN/2020/capabilities.md

* Apply suggestions from code review

* Update src/content/zh-CN/2020/capabilities.md

Co-authored-by: Barry Pollard <[email protected]>
@Zuckjet
Copy link
Contributor

Zuckjet commented Dec 10, 2020

I can help with chinese translation of 2020, especially about pwa and web security, since I have done these things in my work project this year

@tunetheweb
Copy link
Member Author

Excellent! Edit the first post to stick your name beside a chapter and away you go!

Original english is in src/content/en/2020/ and should be translated and pull requested into src/content/zh-CN/2020.

Any questions feel free to ask!

@Zuckjet
Copy link
Contributor

Zuckjet commented Dec 10, 2020

@tunetheweb I just edit the first comment under this issue like "performance- @Zuckjet". Does this mean I will take over the performance post for translation ?

@tunetheweb
Copy link
Member Author

tunetheweb commented Dec 10, 2020

Correct. But let’s untick it until it’s actually translated and PR accepted.

@Zuckjet
Copy link
Contributor

Zuckjet commented Dec 10, 2020

Correct. But let’s untick it until it’s actually translated and PR accepted.

Thanks for helping untick the list item, I will begin translate in these days

@tunetheweb
Copy link
Member Author

tunetheweb commented Dec 10, 2020

One thing to note is that for accessibility reasons whenever we are leaving a phrase in the original English we like to add lang="en" attributes to that text (wrapping in a <span> tag if necessary).

Like this example in the Capabilities translation:

[能力项目](https://www.chromium.org/teams/web-capabilities-fugu),非正式的被称为<span lang="en">Project Fugu</span>,是谷歌、微软和英特尔通过跨公司的努力来弥补web和原生之间差距的工程项目。这对于保持web作为一个平台的相关性非常重要。为此,Chromium的贡献者们实现了新的API,将操作系统的能力(capability)暴露给网络,同时维护用户的安全、隐私和信任。这能力包括但不局限于:

Product names (e.g. HTTP Archive or Google Lighthouse) don't need this.

More tips in our Translators Guide

@Zuckjet
Copy link
Contributor

Zuckjet commented Dec 16, 2020

the seo chapter of 2020 isn't be marked with unedited flag, is it ready for translate ?

@tunetheweb
Copy link
Member Author

Yes it is. Updated the first comment with the latest list.

@Zuckjet
Copy link
Contributor

Zuckjet commented Dec 19, 2020

Yes it is. Updated the first comment with the latest list.

I remember have checked performance, since have finished translation. but seems someone uncheck it again, anything should i do about that chapter?

@tunetheweb
Copy link
Member Author

Sorry my fault. Got it confused with Traditional Chinese which hasn’t been merged yet. I have re-ticked it.

@tunetheweb
Copy link
Member Author

We added a small note to our Accessibility Statement about colour contrast issues:

{# TODO - Translate this <p>
We recognize that some of the color choices for our visualizations do not meet WCAG color contrast requirements. We make a conscious effort to use the more contrasting colors and labels to reduce the impact of this. We hope the detailed descriptions, as well as access to the underlying data itself can help with this issue. We aim to improve the accessibility of our visualization color schemes in future years.
</p> #}

Would be great if someone could translate this (@chengxicn ?). Very small and easy!

@EryouHao
Copy link

@tunetheweb Hi, has the translation program for 2022 started yet? I'm interested in translating the simplified Chinese

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers translation world wide web
Projects
None yet
Development

No branches or pull requests

7 participants