0

I want to make a WordPress website in 2 languages (e.g. English & Bengali) without plugins. Currently my site is plain html with 2 folders. English pages in one folder and Bengali pages in another folder. How do I do it on WordPress without plugin? How to do it theme page/post?

2
  • 1
    You're almost certainly going to need one or more plugins to achieve this.
    – Pat J
    Feb 23 at 13:08
  • 3
    you use two different sites, or a multisite setup Feb 23 at 13:33

1 Answer 1

3

A way my agency has chosen to implement it in the past is through subdomains. We created the entirety of our English site as you would normally in WordPress on mydomain.com, used the Duplicator plugin to clone the site to spanish.mydomain.com, and then changed all the text on the new site.

And as @MarkKaplun recommends, a multisite setup would be appropriate here as well, though slightly more complex. It lets you keep the same WordPress core for both sites, but different content.

An option is to use a plugin like WPML (which is generally considered the best plugin to use if you ended up wanting to go that route). However, there are issues as pointed out by @MarkKaplun such as the integration with other plugins and WPML assuming all content should be the same.

4
  • wpml and other have major flow, they assume content should be the same which in many settings it should not. wpml is good in tracking that you have translated everything, but again translating is rarely the right thing to do. (and lets not even talk about complications with using other code which needs to integrate with those plugins, search problem and other things that I might have forgotten about) Feb 23 at 15:42
  • @MarkKaplun Excellent points I hadn't considered, thank you for that. I updated my answer to reflect this. Maybe should've just let you write the answer with how much I'm quoting you here :)
    – YourManDan
    Feb 23 at 15:47
  • Thank you @YourManDan for your quick response. I'm against using translation plugins. I've already tried a few plugins, but they don't work well in Bengali. I want my site to use the text that I myself have translated. It's simple for me to think about sub-domains. Once more, many thanks. Feb 23 at 16:40
  • @GopalBhattacharjee WPML in particular does let you enter in your own translation text, but following Mark's advice I would agree that it isn't the best option in this use case. Happy coding!
    – YourManDan
    Feb 23 at 17:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.