### Compile message catalogs (JavaScript)
Source: https://lingui.dev/
The Lingui CLI compiles message catalogs into a format usable in the application. This example shows a module exporting parsed JSON messages.
```javascript
module.exports = {
messages: JSON.parse("...")
};
```
--------------------------------
### Translated message catalog (gettext)
Source: https://lingui.dev/
After translation, the catalog contains the translated string. This example shows the same message translated to Czech: 'Ahoj {name}!'.
```gettext
#: src/App.tsx:24
msgid "Hello {name}!"
msgstr "Ahoj {name}!"
```
--------------------------------
### Basic usage of Trans component with @lingui/react/macro
Source: https://lingui.dev/
Use the `Trans` component to wrap translatable JSX content. The `comment` prop provides a hint for translators. This example is from the 'Basic Usage' tab.
```jsx
import { Trans } from "@lingui/react/macro"
function App() {
return (