rtl-layout
/rtl-layout
Wspiera języki pisane od prawej do lewej przez odbicie układu, ikon i interakcji przy zachowaniu liczb i kodu, przy dodawaniu arabskiego, hebrajskiego, perskiego lub urdu do interfejsu.
- Autor
- Amey-Thakur ↗
- Repozytorium
- AI-SKILLS ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 05.09.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 05.09.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Wspiera języki pisane od prawej do lewej przez odbicie układu, ikon i interakcji przy zachowaniu liczb i kodu, przy dodawaniu arabskiego, hebrajskiego, perskiego lub urdu do interfejsu.
Oryginalny opis (EN)
Support right-to-left languages by mirroring layout, icons, and interactions while leaving numbers and code untouched. Use when adding Arabic, Hebrew, Persian, or Urdu support to an interface.
Jak działa
- Method
- Boundaries
Podgląd SKILL.md
--- name: rtl-layout description: Support right-to-left languages by mirroring layout, icons, and interactions while leaving numbers and code untouched. Use when adding Arabic, Hebrew, Persian, or Urdu support to an interface. --- # RTL layout Right-to-left support is a mirroring problem, not a translation problem. The text direction flips, and with it the reading order, the alignment, the direction of progress, and most directional icons. What does not flip is as important as what does. ## Method 1. **Use logical properties instead of physical ones.** Start and end rather than left and right in spacing, alignment, and borders lets one stylesheet serve both directions (see css-architecture). 2. **Set direction at the document root from the locale.** A single dir attribute drives the browser's own bidirectional algorithm, which handles most inline text correctly without intervention. 3. **Mirror directional icons, not all icons.** Back arrows, progress indicators, and chevrons flip; a clock, a checkmark, or a logo does not. Mirroring everything looks broken in a different way. 4. **Leave numbers, code, and identifiers alone.** Digits, URLs, and code samples read left to right inside RTL text, and forcing them to flip corrupts meaning. 5. **Check mixed-direction strings.** A Latin product name inside an Arabic sentence is where bidirectional rendering goes wrong, and it needs testing with real mixed content rather than pure samples. 6. **Test interactions, not just appearance.** Swipe directions, sliders, carousels, and keyboard arrow behaviour all carry directional meaning that a visual review misses. ## Boundaries - RTL affects layout and direction; it does not change the translation itself, which remains a separate workstream. - Some scripts need larger line height and different fonts to render legibly, which is typography rather than direction. - Automatic flipping tools handle common cases and mis-flip icons and images, so the output still needs review.
Wersje
W bazie nie ma innych skilli o nazwie rtl-layout.
Migawka bazy z 13.11.2026 · wersja paczki 6ad79931adc5 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100rtl-internationalization
Wspiera układy od prawej do lewej i tekst dwukierunkowy dla hebrajskiego, arabskiego, perskiego i urdu: właściwości logiczne CSS i Tailwind, lustrzane ikony oraz testy z dir="rtl". - 100rtl
Buduje i przegląda interfejsy RTL dla arabskiego, perskiego, hebrajskiego i urdu: kierunek, logiczny CSS, lustrzane ikony i tekst z liczbami. - 100persian-rtl-design
Projektuje i poprawia interfejsy od prawej do lewej dla perskiego, arabskiego, hebrajskiego i urdu: układ, lustrzane ikony, cyfry i daty. - 90arabic-rtl
Buduje i poprawia interfejsy dla języków arabskiego, hebrajskiego i perskiego: układ RTL, liczby, daty i tekst mieszany. - 100rtl-chat
Formatuje odpowiedzi Claude dla języków pisanych od prawej do lewej, na przykład hebrajskiego, arabskiego i perskiego, przy mieszaniu z angielskim. - 90flutter-l10n-rtl
Dba o tłumaczenia i układ od prawej do lewej w Flutterze: ARB, intl, formaty dat, liczb i walut oraz zasady dla języków arabskiego, hebrajskiego i perskiego.