Skip to content

Turkish Translation: Days 2-5#439

Open
sametsarikaya wants to merge 10 commits into
Asabeneh:masterfrom
sametsarikaya:master
Open

Turkish Translation: Days 2-5#439
sametsarikaya wants to merge 10 commits into
Asabeneh:masterfrom
sametsarikaya:master

Conversation

@sametsarikaya

@sametsarikaya sametsarikaya commented May 10, 2026

Copy link
Copy Markdown

Summary

Added Turkish translation for 30-Days-Of-React.

  • Turkish/02_Gun_Reacta_Giris/ — Introduction to React
  • Turkish/03_Gun_Kurulum/ — Setting Up
  • Turkish/04_Gun_Bilesenler/ — Components
  • Turkish/05_Gun_Props/ — Props
  • Turkish/readMe.md — Navigation table

Translation Rules

  • Prose text and headings → translated to Turkish
  • Code blocks and variable names → unchanged
  • Inline code comments → translated to Turkish
  • Technical terms (Component, Hook, State, Props, JSX) → kept in English
  • Image paths corrected to ../../images/

Follows the same approach as the Turkish folder in the 30-Days-Of-JavaScript repo.

30-Days-Of-React reposunun Türkçe çevirisi başlatıldı.
Turkish/ klasörü altına Gün 2 (React'a Giriş), Gün 3 (Kurulum),
Gün 4 (Bileşenler) ve Gün 5 (Props) eklendi.
Copilot AI review requested due to automatic review settings May 10, 2026 01:02
@sametsarikaya sametsarikaya changed the title Türkçe çeviri: Gün 2-5 eklendi (Turkish Translation: Days 2-5) Turkish Translation: Days 2-5 May 10, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

… 3-5 bugs

New translations added:
- Day 01: JavaScript Refresher (01_Gun_JavaScript_Tazeleyici)
  Complete coverage: adding JS to web, variables, data types, arrays,
  conditionals, loops, scope, objects, functions, higher order functions,
  destructuring, spread, functional programming, classes, DOM
- Day 06: Mapping Arrays (06_Gun_Dizi_Haritalama)
  Covers mapping number arrays, arrays of arrays, arrays of objects,
  and the importance of the key prop
- Day 07: Class Components (07_Gun_Class_Bilesenler)
  Converting functional to class components, this.props access,
  class methods, complete code examples
- Day 08: State / Durum (08_Gun_State)
  What is state, setState(), counter example, cat/dog toggle example,
  full combined app with state and props
- Day 09: Conditional Rendering / Kosullu Render (09_Gun_Kosullu_Render)
  if/else, ternary operator, && operator, Login/Welcome components,
  message state, exercises
- Day 10: React Project Folder Structure (10_Gun_Proje_Klasor_Yapisi)
  File naming (CamelCase), folder structure, named vs default exports,
  components folder organization, Fragments

Bug fixes in existing translations (Days 3-5):
- Fixed 'Author:' not translated -> 'Yazar:' in Days 3, 4, 5
- Fixed 'October, 2020' not translated -> 'Ekim, 2020' in Days 3, 4, 5 and readMe

Navigation improvements:
- readMe.md: updated top nav link from Day 2 to Day 1 (now that Day 1 exists)
- readMe.md: expanded table of contents from Days 2-5 to Days 1-10
- Day 05 (05_props.md): fixed both nav links for Day 6 to point to Turkish
  version (06_Gun_Dizi_Haritalama) instead of English source

Translation conventions used throughout:
- Prose and headings fully translated to Turkish
- Code (variable/function names, JSX) left unchanged
- Code comments translated to Turkish
- React technical terms kept in English with Turkish in parentheses:
  Component (Bilesen), State (Durum), Props (Ozellikler), Hook (Kanca),
  Functional Component (Fonksiyonel Bilesen), Class Component (Sinif
  Tabanlı Bilesen), Fragment (Parca), etc.
sametsarikaya and others added 8 commits May 10, 2026 14:04
Turkish/03_Gun_Kurulum/03_kurulum.md:
- Fix broken relative link: '../03/../03_Day_Setting_Up/' -> '../../03_Day_Setting_Up/'

Turkish/06_Gun_Dizi_Haritalama/06_dizi_haritalama.md:
- Fix broken relative link: '../06_Day_Map_List_Keys/' -> '../../06_Day_Map_List_Keys/'

Turkish/02_Gun_Reacta_Giris/02_reacta_giris.md:
- Fix missing Turkish character: 'TEBRIKLER!' -> 'TEBRİKLER!'

Turkish/08_Gun_State/08_state.md:
- Remove unused 'const count = this.state.count' in cat/dog example
  (state only has 'image', not 'count')
- Fix JSX attribute: 'class=' -> 'className=' on the Change button

Turkish/09_Gun_Kosullu_Render/09_kosullu_render.md:
- Fix undefined variable: 'techs={techs}' -> 'techs={this.state.techs}'
  ('techs' was not declared in render scope; it lives in this.state)

Turkish/10_Gun_Proje_Klasor_Yapisi/10_proje_klasor_yapisi.md:
- Fix missing closing quote in all 'import React from 'react' lines (6 places)
- Fix invalid syntax 'export default const App = ...' ->
  'const App = ...; export default App'
- Fix JSX attribute: '<div class="country_text">' -> '<div className="country_text">'
- Remove 'this.state.backgroundColor' from render (field not defined in state)
- Fix typos in folder structure example:
  'Forgotpassword.js' -> 'ForgotPassword.js'
  'Resetpassord.js'  -> 'ResetPassword.js'
  'icnons'           -> 'icons'
  '- fonts' (bad indent) -> '-fonts'
- Fix Header component: destructure props.data instead of using
  undeclared variables (welcome, title, etc.)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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