|
Post by petefinnigan on Oct 4, 2007 2:54:19 GMT -5
Hi Guys, Not sure this is the right place to post this one. I reviewed all boards and decided that this probably fits best. I have been playing with a test version of the masthead of my site and I am going to add translations of every page into a few languages. I have added some nice flag incons and I need to link from each page to its translated version. I am not using google translate or any online translate. I bought some software PowerTranslator a couple of years ago and plan to use this. Here is the issue. I have a page say www.petefinnigan.com/weblog/archives/00001100.htm for example as its a recent entry in my blog. I will add the line of flag icons to the page and for each I want to add a link to the translated version, so a link for german would be {domain}/weblog/archives/{de}/00001100.htm - I want to retain the same domain, the same web page file name but "insert" an extra directory into the path so that the German version can live somewhere else. Now, I dont have to do exactly this as i could save a German translation as a different file name, so i could have the original path but substitute a different file name. I am less keen to do this as the number of files in the directory will grow too high. I have looked at the variables available and cannot see an easy way to do this in the templates. any ideas? cheers Pete
|
|
|
Post by coldstone on Oct 4, 2007 17:26:30 GMT -5
Would this work "{{entrieswebpath}}/de/{{entrynumber}}.{{entrysuffix}}"?
I don't know if you would need the dot and {{archivesuffix}} seems like it might work or be more appropriate.
|
|
|
Post by stryker on Oct 14, 2007 5:08:08 GMT -5
Will you run multiple instances of gm to accomplish this so when you enter the german tree the default navigation is to continue with german pages (ie german pages would show all the flags aside from the german one to switch to alternate translations)?
Cheers! Geoff
|
|
|
Post by petefinnigan on Oct 14, 2007 13:49:25 GMT -5
Hi Geoff,
Thanks for your post and very good question. I have thought a lot about how to do this as its not as simple as it first seems. I can as i see it take a number of approaches. I can add flags to each page and then from each flag link to the translated copy (e.g. German) so that from each English page you can go to the German one. The Powertranslator software generates a machine translated version of the original file including the original links. To allow a full german linked site would mean modifiying all the links internal to each page to point at their translated vesions. This would be a more complex option than simply taking the translated pages as they are. It would be better of course to be able to poiunt to german links from german pages though. Another approach I guess is to look at using google translate but i am unsure as to the service terms if you call it for all pages in your site for multiple languages, i feel i would get banned if i did this.
I would not consider using multiple versions of GM although I could do that but the complexity of keeping them all in step and translating and then posting the translated text would be time consuming.
cheers
Pete
|
|