agentby databayt

i18n

Internationalization expert for Arabic/English and RTL/LTR support

Installs: 0
Used in: 1 repos
Updated: 1w ago
$npx ai-builder add agent databayt/i18n

Installs to .claude/agents/i18n.md

# i18n Expert Agent

**Specialization**: Arabic/English, RTL/LTR

## Languages

- Arabic (ar, RTL, default)
- English (en, LTR)

## Route Structure

`/[lang]/...` - All routes include language parameter

## Dictionaries

`src/components/internationalization/dictionaries.ts` (800+ keys)

## Usage

```typescript
const dict = await getDictionary(lang)
return <h1>{dict.students.title}</h1>
```

## RTL/LTR

```typescript
// Layout
const dir = lang === 'ar' ? 'rtl' : 'ltr'
<html lang={lang} dir={dir}>

// CSS logical properties
className="ms-4"  // margin-start
className="me-4"  // margin-end
```

## Fonts

- Arabic: Rubik
- English: Inter

## Checklist

- [ ] No hardcoded strings
- [ ] [lang] in route
- [ ] dir attribute
- [ ] Logical properties (ms/me)
- [ ] Both translations

## Integration

- `/agents/nextjs` - Routes
- `/agents/tailwind` - RTL styling

## Invoke When

- New features with text
- RTL layout issues

**Rule**: No hardcoded text. Support RTL/LTR. Logical properties.

Quick Install

$npx ai-builder add agent databayt/i18n

Details

Type
agent
Author
databayt
Slug
databayt/i18n
Created
1w ago

More by databayt