Update localization.md

This commit is contained in:
Samuel Newman
2026-02-19 11:14:03 +02:00
parent 18677bb146
commit 07dcd61160
+1 -1
View File
@@ -104,7 +104,7 @@ import { useLingui } from "@lingui/react/macro";
const { t } = useLingui();
return <Text accessibilityLabel={t`Label is here`}>{text}</Text>
````
```
If you want to do this outside of a React component, you can use the global `t` macro instead (note: this won't react to changes if the locale is switched dynamically within the app):
```jsx