-2

Normal, I usually define like this to create multiple languages for my site.

Like this:

en-en.php

define("HOMEPAGE", "Home Page");

vi-vi.php
define("HOMEPAGE", "Trang chủ");

Current, I load this menu from my database.

Has anything to create multiple language sites when load data from the database?

Thank you very much.

H Vn Lc BIT
  • 37
  • 1
  • 9

1 Answers1

0

I would use Google's website translator It's a simple plugin that allows you to convert any page to 100+ different languages live.

Krypton
  • 118
  • 12
  • My customer doesn't like this. I was using this but it, not a good choice. Because google translate very ugly with my language. – H Vn Lc BIT Sep 05 '16 at 01:56
  • You can customize how it translates words, example translating something to English might confuse the words "to" "two" or "too", you can specify which one you would like. It's all in the google dashboard. – Krypton Sep 05 '16 at 01:58
  • What I mean is covered on this blog https://translate.googleblog.com/2012/05/now-you-can-polish-up-googles.html – Krypton Sep 05 '16 at 02:00
  • when using google translate. It will show like this: http://i.imgur.com/nwTB7Jx.png. All people don't like this. – H Vn Lc BIT Sep 05 '16 at 02:10
  • Why don't you style the bar using CSS? Your image shows it's default style. – Krypton Sep 05 '16 at 02:15
  • This might help you: http://stackoverflow.com/questions/11881361/customizing-google-translator-drop-down and http://stackoverflow.com/questions/6633127/can-you-style-the-google-translate-plugin – Krypton Sep 05 '16 at 02:28
  • 1
    Thank you very much. I hidden it. – H Vn Lc BIT Sep 05 '16 at 03:06
  • You're welcome! If you ever do show the bar you should also consider changing the bars colors so it suites the website colors. – Krypton Sep 05 '16 at 03:14