Skip to content

Site: add Turkish, opened for Turkish browsers - #6

Merged
Talkdedsec merged 1 commit into
mainfrom
site/turkish
Oct 5, 2026
Merged

Talkdedsec merged 1 commit into
mainfrom
site/turkish

Conversation

@Talkdedsec

Copy link
Copy Markdown
Owner

The project page was English only.

  • Every visible text carries its Turkish in a data-tr attribute next to the English (the screenshot alt text too, via data-tr-alt).
  • A small inline script switches the page to Turkish for Turkish browsers, adds a TR/EN toggle (top right, hidden without JS) and saves the language only when the visitor uses the toggle.
  • English stays the page source, so crawlers and no-JS visitors see English.
  • Wording follows README.tr.md (gama tablosu, gece görüşü, renk sıcaklığı); decimals use commas.

Verification

  • All 54 texts and the alt text matched an element; the tool refuses to write if any translation matches nothing.
  • htmlhint clean.
  • Browser: a Turkish browser with nothing saved gets Turkish (title, headings, table, pipeline, alt text); the toggle switches to English, which is saved and survives a reload.

The project page was English only. Every visible text now carries its
Turkish next to it in a data-tr attribute (screenshot alt text too); a
small inline script switches the page for Turkish browsers, adds a TR/EN
toggle and saves the language only when the visitor uses it. English
stays the page source, so crawlers and no-JS visitors see English.

Turkish wording follows README.tr.md (gama tablosu, gece görüşü, renk
sıcaklığı); decimals use commas.
@Talkdedsec
Talkdedsec merged commit 735f3a5 into main Oct 5, 2026
1 check passed
@Talkdedsec
Talkdedsec deleted the site/turkish branch October 5, 2026 09:52
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.

1 participant