I am building a website where I want to provide my content in two languages(English and hindi) to visitors. I have an option of either doing it by creating a button and adding JS if else statements to change the content from english to hindi or vice versa. If there’s any other way to do this like importing any libs or something or using any API to automatically translating the content.
Share