Command Palette

Search for a command to run...

Назад к скиллам
скилл № 39501

rtl

Right-to-left locale configuration guide for Better Translate.

БесплатноБез исполняемых скриптов
jralvarengaот jralvarenga★ 23 звезды на GitHub

Установить rtl в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

RTL Skill

Use this guide when some locales should render right-to-left.

Where RTL belongs

RTL is configured in @better-translate/core.

That means you define direction once in the translator, then adapters can read it later.

Smallest correct setup

import { configureTranslations } from "@better-translate/core";

export const translator = await configureTranslations({
  availableLocales: ["en", "ar"] as const,
  defaultLocale: "en",
  fallbackLocale: "en",
  directions: {
    ar: "rtl",
  },
  messages: { en, ar },
});

Then read it from the translator or server helpers:

translator.getDirection({ locale: "ar" }); // "rtl"
translator.isRtl({ locale: "ar" }); // true

Keep TypeScript autocomplete available

Keep direction rules in the same shared exported translator so locale inference stays consistent anywhere you consume translator, server helpers, or React hooks.

Rule

Keep direction rules in the core config, not scattered across components.

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл rtl?

Right-to-left locale configuration guide for Better Translate.

Как установить скилл rtl?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл rtl запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить rtl с