| Previous · Next | |
| User | Message |
|
sandraqu
|
Date: 2/2/2010 11:48 am · Subject: International Language Thinking Cap · Rating: 0
I wonder if you can help me finesse the idea for a multi-language page title macro. There is an international macro, but i don't understand how it works fully, or if it would address my query. Simply stated, we have language links (english, spanish, french), and if you click french, you get the page in french. Details to consider: --The URL /mypage (default english); FR/mypage (for the page in french - translation done inhouse, so we are not using Google); SP/myspace (for spanish), etc. --The < a href TITLE="mypage's title in french" ...> for the french link. So i need to grab the page title of the page i'm goign to (not the page title of the page i'm in). What I hope to do is pull in the proper language out of an array for the page title, or a navigation link based on the URL -- no, I need something more reliable than the URL -- Is there a page ID? i welcome ideas, comments. --sandra
--- (Edited on 2/2/2010 11:48 am [GMT-0600] by sandraqu) --- |
| Back to Top |
Rate [ | ]
|
|
martien
|
Date: 2/2/2010 6:36 pm · Subject: Re: International Language Thinking Cap · Rating: 0
If you don't like to build double tree-structures, have a look at http://www.webgui.org/bazaar/mllang---display-internationalized-content I added some more comments today.
--- (Edited on 03.02.2010 01:39 [GMT+0100] by martien) --- |
| Back to Top |
Rate [ | ]
|
|
perlDreamer
|
Date: 2/2/2010 8:54 pm · Subject: Re: International Language Thinking Cap · Rating: 0
There's also this solution for internationalized content. Basically, you build an English branch, and in parallel with it, one branch for each language. Then, you include the macro on the page, and it will generate links to the other branches. --- (Edited on 2/2/2010 6:54 pm [GMT-0800] by perlDreamer) --- |
| Back to Top |
Rate [ | ]
|
|
bartjol
|
Date: 2/3/2010 2:59 am · Subject: Re: International Language Thinking Cap · Rating: 0
I've seen Martien's solution and it works very nice. Also there is the LanguagePageSwitch in the bazaar, which, at the moment only produces url's, but it will be easy to retrieve a page title and ,if desired, template it. Here are some internationalization add-ons: http://www.webgui.org/bazaar?func=byKeyword;keyword=language So you see, there are some different options. If you have any questions, ask here or in the IRC channel --- (Edited on 3-February-2010 09:59 [GMT+0100] by bartjol) --- |
| Back to Top |
Rate [ | ]
|
|
martien
|
Date: 2/21/2010 8:57 am · Subject: Re: International Language Thinking Cap · Rating: 0
I now made a public example. Please have a look at this on http://www.webgui-professional.de/international --- (Edited on 21.02.2010 15:57 [GMT+0100] by martien) --- |
| Back to Top |
Rate [ | ]
|