Translate Describing the UI chapter to Swahili - #174
Conversation
There was a problem hiding this comment.
Pull request overview
Swahili localization for the Learn chapter “Describing the UI” (src/content/learn/) plus a glossary/style guide intended to keep terminology consistent across contributors.
Changes:
- Added
TRANSLATION.mdwith translation rules and a Swahili terminology glossary. - Translated the “Describing the UI” chapter index page and 8 chapter pages into Swahili (frontmatter titles + page content).
- Updated examples’ user-facing strings and inline comments while preserving code identifiers and MDX components.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
TRANSLATION.md |
Adds Swahili translation style guide + glossary for consistent terms. |
src/content/learn/describing-the-ui.md |
Translates chapter landing page and its “You will learn” outline. |
src/content/learn/your-first-component.md |
Swahili translation of the “Your First Component” page content. |
src/content/learn/importing-and-exporting-components.md |
Swahili translation of importing/exporting guidance and examples. |
src/content/learn/javascript-in-jsx-with-curly-braces.md |
Swahili translation of JSX curly braces lesson. |
src/content/learn/passing-props-to-a-component.md |
Swahili translation of passing/reading props lesson. |
src/content/learn/conditional-rendering.md |
Swahili translation of conditional rendering lesson. |
src/content/learn/rendering-lists.md |
Swahili translation of list rendering lesson. |
src/content/learn/keeping-components-pure.md |
Swahili translation of purity/side-effects lesson. |
src/content/learn/understanding-your-ui-as-a-tree.md |
Swahili translation of UI-as-a-tree lesson. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| </Challenges> | ||
| </content> | ||
| </invoke> |
| q | ||
| // Nihamishe kwenye Profile.js! |
| </Sandpack> | ||
|
|
||
| After you get it working with one kind of exports, make it work with the other kind. | ||
| Baada ya kuifanya ifanye kazi na aina moja ya exports, ifanye ifanye kazi na aina nyingine. |
| #### Tagi za HTML ziko wapi katika render tree? {/*where-are-the-html-elements-in-the-render-tree*/} | ||
|
|
||
| You'll notice in the above render tree, there is no mention of the HTML tags that each component renders. This is because the render tree is only composed of React [components](learn/your-first-component#components-ui-building-blocks). | ||
| Utagundua kwamba katika render tree iliyo hapo juu, hakuna taja ya tagi za HTML ambazo kila component ina-render. Hii ni kwa sababu render tree imetungwa tu na [components](learn/your-first-component#components-ui-building-blocks) za React. |
ea96f19 to
18745eb
Compare
|
Hello @DENNIS-CODES Could you run a |
|
@orama254 i have fixed the issue and trimmed the white spaces you can check |
Size changesDetails📦 Next.js Bundle Analysis for react-devThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
Swahili translation of the "Describing the UI" Learn chapter (9 pages) plus a
TRANSLATION.md glossary/style guide for consistent terminology.
Excludes "Writing Markup with JSX" (already claimed by @kazz54).
Refs #1