Multilingual sites
|
486 posts
|
This is a nice feature, but it seems to me that it would be more appropriate as a plugin. |
|
541 posts
|
ok here is the idea I have someone send me his experimental version of frog with a drop down menu on the page list with all available lang for the website (can be set in the administration setting page) now my idea (don’t know yet how to implement it but …) use the 2 chars lang code (en,fr,it,es,…) at the end of the url (only if there is url conflict)
(conflict found, add /lang_code)
(without conflict)
what you think ? |
|
541 posts
|
Ok for those that are interested !! I have a working copy that works now :) but I have change some little thing to make it more search engine optimized here is the new idea:
|
|
27 posts
|
Why this strange approach “use the 2 chars lang code (en,fr,it,es,…) at the end of the url (only if there is url conflict)” ? I believe that the classic hierarchy:
it’s a better schema. |
|
541 posts
|
well this is for a SEO approach, because you loose on all your page the best place to put some rich keyword about your content !!! this is why I have turn my head on every side to get this idea working :) |
|
8 posts
|
Hoe can i try your branche version? This is just what i need for our latest project. Started using frog since a week or so. Really like FrogCMS, it’s clear, nice code, easy to use, and very flexibel. You can expect some plugins from my side! |
|
27 posts
|
sorry, but i doesn’t think to understand. What do you meen for “loose on all your page the best place to put some rich keyword about your content” ? For my personal experience, multi language site organized with languages “subdirectories” works fine, and google seems to like it, personally i also add lang attribute on meta tags. besides the approach /, /fr is imho a “natural flowing hierarchy” that what’s google like ;) just my 2 cents. |
|
27 posts
|
@Luuk You can try the brech of philippe in svn. madebyfrogs.googlecode.com/svn/branches/phil |
|
8 posts
|
thx did find the google code project, didn’t know how to connect to the branche-version… |
|
27 posts
|
@Luuk Look at the checkout page , you must to substitute trunk whit branches/phil. |
|
541 posts
|
And I just update the SQL schemas so now you are suposed to have all what it need to try it !! well a natural flow will be to simulate static page and directory (imho) exemple:
I think this is more clean and language is transparent I prefer this way what you think ? |
|
8 posts
|
What will happen if you have the same name in two languages? for example; contact. it’s the same in dutch and english.
and in english:
is this correct? |
|
541 posts
|
well I will add a conflict detector !! so you will need to set the other one to a other name in french it is contact too but you can say contact_us for english and contactez_nous for french … well I know the way I try to do it is not the easiest way but with my SEO experience I’m quit sure this will be the way that will benefit the most :) [edit] sorry I didn’t answer !! no it is not correct !! cause this is exactly what i try to remove this little language code in url ;) |
|
27 posts
|
@Philippe I understand your idea, but i think that removing the language part from the url, make the url probably a bit better, but it doesn’t so different for search engine, while it could create “problems” for editor… (es, i don’t want to call a page “contact_us” instead of “contact” because i’ve other languages). In the example below:
if think that it’s not so natural, for example i would like to see your french version and i don’t find the link in th site… i can’t write:
to see the home page, because i must to know how you call your index page. I believe that your approach give too consideration to the search engine, loosing user and editor usability. At the end this is what i prefer (suppose english as default language):
let me know what you think. |
|
8 posts
|
There’s a bit to say for both options…In my opinion, a good multilanguage website also has a good number of url’s, for example; - www.apple.com – www.apple.nl – www.apple.fr etc. I think, when changing language it will redirect to the correct url, which means you can always have the same name in differente languages. The only problem then is multilanguags countries, such as canada belgium etc. In that case you should add a language tag the URL in my opinion…. |
|
651 posts
|
actually, the method beres mentioned (adding /fr/ in front) is why we added the drag-to-copy feature.. all we need is some php that detects the browser’s preferred language and redirects the user when necessary. |
|
541 posts
|
I’m currently in a big talk about all possible design / concept about multilang website !! all solution have there goods !! and if I choose one I need to stay with it !! if I decide to go with the beres solution , then we don’t need a dropdown to manage language and multiple home page. I’m really curious about this idea !!! need to think more about it I think by the way @martijn the copy paste fonction you add work very good :) nice job !! |
|
1493 posts
|
Well, Martijn did add it (technically speaking), and he does do nice work! But I think the copy/paste function was tuupola’s contribution — in the true spirit of opensource software! :) |
|
27 posts
|
@philippe While you take time to make the right decision… |
|
541 posts
|
David you have right !!! this was a tuupola code :D than thanks tuupola ;) @beres this is a good idea !! take note of that too :) thanks |
|
6 posts
|
Bonjour à tous ! i’ve done a quick workaround with a php session variable and jquery using page parts. It was too easy and i m not sure of its robustness. It simply detects if a “fr” page part exist and test the session variable. It seems to work for me. Can you tell me if there are flaws with this technic ? the mediatic website (need some little improvements) |
|
1493 posts
|
@arnomad – wow! slick. :) Which Frog version is this? |
|
6 posts
|
@David Thanks, it’s the 0.9.4 stable version. I’m playing now with 0.9.5 rc1 for several new projects. The front-end login feature is a good idea. |
|
541 posts
|
well why I didn’t use this technic it’s because you can not give a different url for “français” !! it will always open in english and then you have to change it in “français” really nice website by the way :) Félicitation |
|
6 posts
|
Thank you Philippe, this is the first time that i work with a cms with “pleasure” (and i tried a lot of cms). Félicitations à toi. I see your point. I dont like cookies too. And SEO is primordial. But it can be a problem to have 2 differents url for the same page too. Hard choice. |