1
0
mirror of synced 2025-12-19 18:10:59 -05:00
Commit Graph

37 Commits

Author SHA1 Message Date
Peter Bengtsson
c699e7c2f1 Test with fixture translations (#37232) 2023-05-26 12:13:01 +00:00
Kevin Heis
804fd8d8e8 Ordering (#35558) 2023-03-14 20:30:58 +00:00
Peter Bengtsson
92f989aa2d Run and test server with test fixture root (#33816) 2023-02-06 19:29:45 +00:00
Peter Bengtsson
f7be7f0129 Revert "Remove ENABLED_LANGUAGES" (#33953) 2023-01-13 17:52:48 +00:00
Kevin Heis
cdf1123135 Remove ENABLED_LANGUAGES (#33766) 2023-01-13 16:42:00 +00:00
Kevin Heis
2686cd8e4f Languages in order of accept-language header frequency (#33883) 2023-01-12 18:00:25 +00:00
Kevin Heis
928b0dab02 Fix translation reporting (round 1!) (#33754) 2023-01-05 20:16:38 +00:00
Peter Bengtsson
06eb34e0fd move out language dependent rendering tests (#33761)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2023-01-05 16:49:58 +00:00
Peter Bengtsson
b8f44b13f7 test translations suite in CI (#33739) 2023-01-04 18:07:04 +00:00
Peter Bengtsson
a6676bc16e remove left-over debugging about what ENABLED_LANGUAGES becomes (#33587) 2022-12-15 17:57:18 +00:00
Peter Bengtsson
20cc8ff35b set the default languages for prod in the Dockerfile (#33565) 2022-12-14 19:53:25 +00:00
Kevin Heis
e7983eb8d2 Use zh as language code instead of cn (#33560) 2022-12-14 19:10:05 +00:00
Peter Bengtsson
7df3f2ca14 clone all languages for production build (#33473) 2022-12-13 12:42:55 +00:00
Peter Bengtsson
64b3fcbe38 clone docs-internal.ko-kr in Azure prod deploys (#33351) 2022-12-12 13:31:23 +00:00
Dmitry Burov
6dec9938a9 Fix: uppercase Russian native name 2022-12-06 09:53:38 +03:00
Kevin Heis
b7d6ee0853 Cache language redirects (#33028) 2022-12-01 20:01:52 +00:00
Grace Park
9c8b14baac Public Ship ko and ru (#33025) 2022-11-30 20:03:30 +00:00
Kevin Heis
1a77ceb9e2 Clean up zh/jp/br/kr language code redirects (#33040)
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-11-29 18:40:48 +00:00
Robert Sese
6dc5f4c974 Enable French and German (#33023) 2022-11-29 16:03:31 +00:00
docubot
67d003056c [DO NOT MERGE - WIP Language test]: New translation batch for de (#32678)
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>
2022-11-21 17:10:15 +00:00
docubot
67a7811ec7 [DO NOT MERGE - WIP Language test]: New translation batch for ko (#32725)
Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
2022-11-18 17:34:28 +00:00
docubot
8d6f272d8b [DO NOT MERGE - WIP Language test]: New translation batch for fr (#32684)
Co-authored-by: Grace Park <gracepark@github.com>
2022-11-17 19:46:39 +00:00
docubot
1ecefb5704 [DO NOT MERGE - WIP Language test]: New translation batch for ru (#32680)
Co-authored-by: Grace Park <gracepark@github.com>
2022-11-16 21:42:42 +00:00
Grace Park
0ed7777736 Bring back wip temporarily for the dark ship of fr, ru, ko, and de (#32539) 2022-11-11 00:25:50 +00:00
Peter Bengtsson
dd62ec0b2f Ability to start with different translation roots (#32348) 2022-11-07 19:00:16 +00:00
Hector Alfaro
b1610289b2 Add a translation root (#31822)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-10-18 16:59:59 +00:00
Peter Bengtsson
a1e3866fa5 don't get available languages from session (#29715)
* don't get available languages from session

* update useSession

* one more fix
2022-08-08 11:13:27 -04:00
Peter Bengtsson
07c8fc3c2a Decouple redirects from language (#24597)
* experimenting with redirects

* cleanup developer.json

* wip

* clean console.log

* progress

* some progress

* progress

* much progress

* debugging tests

* hacky progress

* ditch latest -> number redirects

* minor

* hacky progress

* lots of progress

* some small fixes

* fix rendering tests

* small fixes

* progress

* undo debugging

* better

* routing tests OK

* more cleaning

* unit tests

* undoing lineending edit

* undoing temporary debugging

* don't ever set this.redirects on Page

* cope with archived version redirects

* adding code comments on the major if statements

* address all feedback

* update README about redirects

* delete invalid test

* fix feedback
2022-02-14 20:19:10 +00:00
Peter Bengtsson
1f93fe29ee denormalize archived-redirects-from-213-to-217.json by language (#24996)
* denormalize archived-redirects-from-213-to-217.json by language

* refactor again

* oops
2022-02-09 18:58:34 +00:00
Peter Bengtsson
53e3077973 use 302 when redirecting from without language prefix (#23409)
Part of #1312
2021-12-07 14:07:11 +00:00
Kevin Heis
5b1ac53379 A few things that Prettier seemed to miss (#23005) 2021-11-19 18:32:20 +00:00
Rachael Sewell
8ad7c37cee Remove German as supported language (#22311) 2021-10-19 21:36:46 +00:00
Francis
9f216485c9 [Localization] Migrate Spanish source content from es-XL to es-ES (#22048)
* chore: migrate from es-XL to es-ES in languages module

This commit is inspired by b6a2762e75, in an attempt to have the most up-to-date translations available in es-ES since es-XL is no longer maintained nor updated.

* fix: remove all non-existent translated release notes

* build: run CI on all enabled languages

* build: update app.json to enable English + set size to standard-2x

* fix: s/EN/en

Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-10-12 16:13:44 +00:00
Kevin Heis
cdbbc63219 Send new analytics fields for path_language, path_version, path_product, path_article (#21562)
* Send new analytics fields for path_language, path_version, path_product, path_article

* Update DefaultLayout.tsx

* Update events.js
2021-09-17 19:22:54 +00:00
Kevin Heis
8a56437c93 Pretty format (#20352)
* Update prettier flow to include JS

* Run prettier

* ...run prettier
2021-07-14 14:35:01 -07:00
Kevin Heis
42e785b0a8 Migrate CommonJS to ESM (#20301)
* First run of script

* Get the app running --- ish

* Get NextJS working

* Remove `node:`

* Get more tests passing in unit directory

* Update FailBot test to use nock

* Update test.yml

* Update Dockerfile

* tests/content fixes

* Update page.js

* Update build-changelog.js

* updating tests/routing

* Update orphan-tests.js

* updating tests/rendering

* Update .eslintrc.js

* Update .eslintrc.js

* Install jest/globals

* "linting" tests

* staging update to server.mjs

* Change '.github/allowed-actions.js' to a ESM export

* Lint

* Fixes for the main package.json

* Move Jest to be last in the npm test command so we can pass args

* Just use 'npm run lint' in the npm test command

* update algolia label script

* update openapi script

* update require on openapi

* Update enterprise-algolia-label.js

* forgot JSON.parse

* Update lunr-search-index.js

* Always explicitly include process.cwd() for JSON file reads pathed from project root

* update graphql/update-files.js script

* Update other npm scripts using jest to pass ESM NODE_OPTIONS

* Update check-for-enterprise-issues-by-label.js for ESM

* Update create-enterprise-issue.js for ESM

* Import jest global for browser tests

* Convert 'script/deploy' to ESM

Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: James M. Greene <jamesmgreene@github.com>
2021-07-14 13:49:18 -07:00
Vanessa Yuen
3df90fc9b8 Hello git history spelunker!
Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
2020-09-27 14:10:11 +02:00