Skip to content

Quick question, is lingui's t macro same as i18nMark? Did the i18nMark function get deprecated? It's not mentioned in the migration guide. #1794

@shibisuriya

Description

@shibisuriya

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior, possibly with minimal code sample, e.g:

import { Trans } from "@lingui/react"

export default function App() {
   return <Trans>This should be translated!</Trans>
}

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

  • jsLingui version lingui --version
  • Babel version npm list @babel/core
  • Macro support:
  • I'm using SWC with @lingui/swc-plugin
  • I'm using Babel with babel-macro-plugin
  • I'm not using macro
  • Your Babel config (e.g. .babelrc) or framework you use (Create React App, NextJs, Vite)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions