Detailed use of i18n with primereact

UI Components for React
Post Reply
mdurmaz06
Posts: 8
Joined: 24 Mar 2022, 22:18

22 Aug 2022, 15:58

Below is some information about using the i18n. But these seem not enough.

https://www.primefaces.org/primereact/locale/

<Dialog
header="Add New Topic"
visible={addDia}
style={{ width: "30vw" }}
footer={renderFooterAdd}
onHide={() => {
setAddDia(false);
}}
>
</Dialog>

Here I want to translate the header("Add New Topic") to Turkish with i18n. How can I do that?

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

25 Aug 2022, 13:12

But you own that label so you can localize it yourself. See this for example on how to IL8N in React: https://react.i18next.com/
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 24 guests