キーファイル不要のワークフロー
キーファイルを管理せずに、JSXと文字列を翻訳できます。
Welcome.tsx
import { T, useTranslation } from 'tyndale-react';
export function Welcome() {
const t = useTranslation();
return (
<div>
<T>Welcome to our app!</T>
<p>{t('You have 3 new messages')}</p>
</div>
);
}