Skip to content

Repository files navigation

  1. run npm ci
  2. run npx lingui extract
  3. run npx lingui compile --typescript
  4. run npm run dev

Messages from src/page.tsx are not translated, unless they writen in a single line.
Don't work:

<Trans>
	This should be translated!
</Trans>
<p>
	<Trans>
		See all <a href="/unread">unread messages</a>
		{' or '}
		<a onClick={() => markAsRead()}>mark them</a> as read.
	</Trans>
</p>

Work:

<Trans>This should be translated!</Trans>
<p>
  <Trans>See all <a href="/unread">unread messages</a>{' or '}<a onClick={() => markAsRead()}>mark them</a> as read.</Trans>
</p>

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages