Trolstover Posted August 14, 2015 Share Posted August 14, 2015 Hi , what is the best way to translate site which has few sub domains? I was thinkng that i could puth checkbox , if user select lang , the ajax will insert translated file to the document which has only links to translated sites, but i think it would take quite time to load the whole site. So what is the best way to do it? Link to comment Share on other sites More sharing options...
justsomeguy Posted August 14, 2015 Share Posted August 14, 2015 There are several ways to make a site with multiple languages.https://www.google.com/search?client=opera&q=how+to+make+a+multilingual+website&sourceid=opera&ie=UTF-8&oe=UTF-8 Link to comment Share on other sites More sharing options...
Trolstover Posted August 17, 2015 Author Share Posted August 17, 2015 I tried that but all those methods are via programs like drupal/wordpress... Link to comment Share on other sites More sharing options...
justsomeguy Posted August 17, 2015 Share Posted August 17, 2015 No they're not, several of those articles talk about the design decisions you make.Like I said, there are several ways. You can have separate files for each language or you can store all of your text in a database and use a language like PHP to get the correct language out and fill out the page, for example. I'm sure you can design your own way to do it also. There's a basic way to do it here, for example, which can be expanded to use a database instead of files or other ways. If you add programming languages to the search terms in Google then you'll find more specific articles.http://www.bitrepository.com/php-how-to-add-multi-language-support-to-a-website.html Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now