Skip to content

[TCE] Migrate German/Deutsch (DE) from HTML to YAML#5200

Merged
veganstraightedge merged 6 commits intomainfrom
tce_yaml_to_html_script__de
Apr 19, 2026
Merged

[TCE] Migrate German/Deutsch (DE) from HTML to YAML#5200
veganstraightedge merged 6 commits intomainfrom
tce_yaml_to_html_script__de

Conversation

@veganstraightedge
Copy link
Copy Markdown
Contributor

@veganstraightedge veganstraightedge commented Mar 22, 2026

Inspired by @Bargraph6's progress on migrating TCE PDFs to YAML, I wrote a script to extract the HTML+CSS from /public/tce:


  • Add config/locales/to_change_everything/de.yml with translated content
  • Add app/assets/stylesheets/to_change_everything/_deutsch.scss
  • Wire up deutsch in controller LTR list and config locales
  • Delete /public/tce/deutsch/index.html and modify.css

@veganstraightedge
Copy link
Copy Markdown
Contributor Author

/cc @Bargraph6 @just1602

@veganstraightedge veganstraightedge changed the title [TCE] Migrate German (DE) from HTML to YAML [TCE] Migrate German/Deutsch (DE) from HTML to YAML Mar 22, 2026
just1602
just1602 previously approved these changes Mar 22, 2026
@veganstraightedge veganstraightedge merged commit 891aa16 into main Apr 19, 2026
10 checks passed
@veganstraightedge veganstraightedge deleted the tce_yaml_to_html_script__de branch April 19, 2026 01:13
@veganstraightedge
Copy link
Copy Markdown
Contributor Author

thanks for the review @just1602 !

veganstraightedge added a commit that referenced this pull request Apr 19, 2026
Inspired by @Bargraph6's progress on migrating TCE PDFs to YAML, I wrote
a script to extract the HTML+CSS from `/public/tce`:

- [x] deutsch #5200
- [ ] czech
- [x] polski #5201
- [ ] slovenscina
- [ ] slovensko

---

- Add `config/locales/to_change_everything/pl.yml` with translated
content
- Add `app/assets/stylesheets/to_change_everything/_polski.scss`
- Wire up `polski` in controller LTR list and config locales
- Delete `public/tce/polski/index.html` and `modify.css`
veganstraightedge added a commit that referenced this pull request Apr 19, 2026
Inspired by @Bargraph6's progress on migrating TCE PDFs to YAML, I wrote
a script to extract the HTML+CSS from `/public/tce`:

- [x] deutsch #5200
- [x] czech #5264
- [x] polski #5201
- [ ] slovenscina
- [ ] slovensko

---

- Add `config/locales/to_change_everything/cs.yml` with translated
content
- Add `app/assets/stylesheets/to_change_everything/_czech.scss`
- Wire up `czech` in controller LTR list and config locales
- Delete `public/tce/czech/index.html` and `modify.css`
veganstraightedge added a commit that referenced this pull request Apr 19, 2026
Inspired by @Bargraph6's progress on migrating TCE PDFs to YAML, I wrote
a script to extract the HTML+CSS from `/public/tce`:

- [x] deutsch #5200
- [x] czech #5264
- [x] polski #5201
- [ ] slovenscina #5266
- [x] slovensko #5265

---

- Add `config/locales/to_change_everything/sl.yml` with translated
content
- Add `app/assets/stylesheets/to_change_everything/_slovenscina.scss`
- Wire up `slovenscina` in controller LTR list and config locales
- Delete `public/tce/slovenscina/index.html` and `modify.css`
veganstraightedge added a commit that referenced this pull request Apr 19, 2026
Inspired by @Bargraph6's progress on migrating TCE PDFs to YAML, I wrote
a script to extract the HTML+CSS from `/public/tce`:

- [x] deutsch #5200
- [x] czech #5264
- [x] polski #5201
- [x] slovenscina #5266
- [x] slovensko #5265

---

- Add `config/locales/to_change_everything/sk.yml` with translated
content
- Add `app/assets/stylesheets/to_change_everything/_slovensko.scss`
- Wire up `slovensko` in controller LTR list and config locales
- Delete `public/tce/slovensko/index.html` and `modify.css`

---

## ⚠️ Content note: sk.yml is actually Slovenian, not Slovak

The `public/tce/slovensko/` folder has been a misfiled duplicate of
`public/tce/slovenscina/` since the initial 2016 TCE migration (commit
ceb8a57). Both old static HTML files contained Slovenian content, both
labeled themselves `Slovenščina` in the menu, and both pointed at the
same `og:url`. No Slovak translation has ever existed on the site — the
2016 language dropdown linked Slovak ("Slovenčina") out to an external
blog video.

This PR preserves the existing (mislabeled) content verbatim so the
`/tce/slovensko` route keeps working. A `# TODO` comment at the top of
`sk.yml` flags this for a future Slovak translator. The strings need
retranslation from Slovenian → Slovak before the page can honestly claim
to be Slovak.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants