I have a customer who has handed me a Spanish translation of his English website and wants a second version of his site available in Spanish. Any ideas on accomplishing this in pagelime?
Secondary Language Website Translation
(10 posts) (3 voices)-
Posted 1 year ago #
-
Not where it automatically updates, but you could create pages like index-span.html and when a user wants to view in spanish it automatically passes a variable (via php) that only shows the pages with -span appended. - Tom
Posted 1 year ago # -
Would it work to have two divs one with id="spanish cms-editable" and one "engligh cms-editable" and then use javascript to hide one and show the other?
It's a pretty simple website layout.
Posted 1 year ago # -
The only hinky thing would be the menu... ideas??
Posted 1 year ago # -
Hm... I can't think of anything that wouldn't involve custom programming to pull in different content for the menu. So basically the same concept... create a seperate set of pages and maintain them, otherwise you'd have to get into programming all the switching logic and such, and it's more work than it's worth if it's just one other language.
Posted 1 year ago # -
I'm always of the opinion that it's easier to train a client to do something than program a system to do it automatically and hope they don't break it :) And that's coming from experience from working on sites like scjohnson.com and swiss army. Internationalization is a pain whichever way you choose to deal with it - so I always recommend to try and keep it simple.
Posted 1 year ago # -
I didn't see your reply until today. :-) I did the switching logic using javascript and cookies...
The problem is now, pl doesn't like my website homepage. It says that http://www.glenpetersonlaw.com/index.php doesn't exist (This is not a valid homepage URL.).
The really strange thing is that it accepts index.html which isn't even in the web root directory anymore. It shows pages which I've removed as visibly live when they don't live in the web root at all.
any thoughts?
Posted 1 year ago # -
Pagelime doesn't live sync to your site (something to improve in the future), so you'd have to remove the old pages that no longer exist.
The JS switcher is likely going to be causing a problem if it's redirecting off of every page. You would want to add the actual pages (not the switcher pages) to the CMS and edit those directly.
Hope that makes sense.
Posted 1 year ago # -
www.glenpetersonlaw.com
I used javascript on the same page to switch between the languages. I toggle between english and spanish div tags using a call from a link on the page. It switches instantly because everything loads in the background. If you toggle on one or the other the same code sets a cookie indicating your choice so that all pages afterward will turn on and off the correct divs, thereby hiding or showing the languages.
Funny thing is, that it was working fine with pl. I could toggle on my spanish divs and edit them with cms-editable ready tags. It was AWESOME! BUT all of a sudden it started telling me Oops... page couldn't be found or something.
And it loads an old index.html version of the site. I removed the index.html from the list of pages in pl, and even created a new directory on the root and moved all out dated pages into it via ftp, but it keeps saying that index.php doesn't exist when I try to tell it the index page on my domain in the settings area.
When I click the edit site link it brings up index.html with all images linked and css working! It lets me bring up all the old pages too in perfect working order.
It's really weird guys.
My customer is paying for godaddy hosting - any known issues with them?
Posted 1 year ago # -
Whoops! spoke too soon... Looks like its working again? Still weird.
Posted 1 year ago #
Reply
You must log in to post.