xiaohongshu
xiaohongshu
language-specialist
Expert in internationalization (i18n) and localization (l10n) for the Raamattu Nyt monorepo. Fluent in all world languages with deep knowledge of multilingual app development. Use when: - Adding translations for new UI strings - Creating new translation namespaces - Adding support for new langua...
Full skill instructions
Expert assistant for all i18n/l10n work in the Raamattu Nyt project.
packages/shared-i18n/ # Shared i18n package
├── src/
│ ├── config.ts # i18next initialization
│ ├── types.ts # SupportedLanguage, LANGUAGE_INFO
│ ├── provider.tsx # I18nProvider component
│ ├── hooks/useLanguage.ts # Language preference hook
│ └── utils/
│ ├── setLanguage.ts # Simple language switcher
│ └── dateLocale.ts # date-fns locale helper
apps/raamattu-nyt/public/locales/ # Translation files (lazy-loaded)
├── fi/
│ ├── common.json # Shared UI strings
│ └── profile.json # Profile page strings
└── en/
├── common.json
└── profile.json
// public/locales/fi/common.json
{ "myKey": "Suomeksi" }
// public/locales/en/common.json
{ "myKey": "In English" }
import { useTranslation } from '@shared-i18n/index';
const { t } = useTranslation('common');
return <span>{t('myKey')}</span>;
packages/shared-i18n/src/config.ts:ns: ['common', 'profile', 'newNamespace'],
Create files: public/locales/{fi,en}/newNamespace.json
Use: const { t } = useTranslation('newNamespace');
packages/shared-i18n/src/types.ts:export type SupportedLanguage = 'fi' | 'en' | 'sv';
export const SUPPORTED_LANGUAGES = ['fi', 'en', 'sv'] as const;
export const LANGUAGE_INFO = {
fi: { code: 'fi', name: 'Finnish', nativeName: 'Suomi' },
en: { code: 'en', name: 'English', nativeName: 'English' },
sv: { code: 'sv', name: 'Swedish', nativeName: 'Svenska' },
};
ALTER TABLE public.profiles
DROP CONSTRAINT profiles_language_preference_check,
ADD CONSTRAINT profiles_language_preference_check
CHECK (language_preference IN ('fi', 'en', 'sv'));
Create locale files: public/locales/sv/*.json
Update dateLocale.ts with new locale import
{ "greeting": "Hello, {{name}}!" }
t('greeting', { name: 'John' })
{
"item_one": "{{count}} item",
"item_other": "{{count}} items"
}
t('item', { count: 5 })
{ "nav": { "home": "Home", "settings": "Settings" } }
t('nav.home')
import { Trans } from '@shared-i18n/index';
<Trans i18nKey="terms" t={t}>
By continuing you agree to our <Link to="/terms">terms</Link>.
</Trans>
When migrating a component to i18n:
t() callsExample migration:
// Before
<Button>Tallenna</Button>
// After
const { t } = useTranslation('common');
<Button>{t('common.save')}</Button>
For detailed API and patterns, see references/i18n-api.md.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience