iiitl / Wollete

Next.js project facilitating secure, anonymous digital receipt transmission for paperless transactions and billing among diverse entities.
https://wollette.vercel.app/
1 stars 12 forks source link

Enhance Language Dropdown in Navbar and Implement Internationalization Fixed : #2 #23

Closed gauravghodinde closed 8 months ago

gauravghodinde commented 8 months ago

Enhance Language Dropdown in Navbar and Implement Internationalization Fixes : #2 first of all I removed the group due to which dropdown menu was behaving undesirably , thereby fixing the unintended association with the login button's hover effect.

Furthermore, the project internationalization support has been added with the help of i18n

(Next.js has built-in support for internationalized i18n routing )

i also use next-intl to implement the changes from the <langcode>.json file

and created a structure of the content in messages/en-US.json and used it.

in order to generate these json files in other languages i used this in which you can just upload the en-us.json and it will gave me es.json (spanish) and hi.json (hindi) translations. Thus catering to users in different regions.

heres a video of above changes

Task to be Done:

Translated the homepage title into two additional languages.

  1. hindi
  2. spanish

chrome-capture-2024-3-17 (1)

gauravghodinde commented 8 months ago

@rootCircle and @monarxxjain Please review.

monarxxjain commented 8 months ago

Excellent work @gauravghodinde.