I am looking for a multi-language solution. My thoughts are so far:
Creating the main language:
code: $multilang = 'en';
Creating the language folder:
Thus the content is separated from the rest of the page. Switching between languages should go by flag on the sides. <a href="en/"> English flag IMG </ a>
How can I now teach the gpEasy to create the pages in the respective language folders (perhaps as a plugin)?
I am very grateful about a solution!
Another solution could be as follows:
Every text section gets an attribute language. Only the sections are loaded if they match the language of the visitors' choice. If no choice is set its detected trough request headers.
Image properties have to be extended. The description must be separate and needs the same language attribute for the same trick to work.
The language configuration holds the following data:
All sections are shown 1). to bots (with html5 attribute lang) for proper indexing, and 2) in edit mode. This keeps it as close as possible to the gpEasy paradigm of front end editing.
Stano ; How to install your plug in ?
I get errors that appears
I would like to install this plugin in gpeasu2.3.3
it is possible !!
thanks you for your response
a ce que c'est possible , quand je choisis la langue , il m'ouvre une autre page (c'est moi, je vais traduire ) ???
@stano - thank you for the plug in... but i am not sure i install it corectly... i dont see where to type the content of the other languages. Can you help?
Thank you very much Stano :)
I got i now... I guess the problem was with my template... i tried removing the "dropdown" and using new html and css
p.s. PMd u on youtube
I need your help. I succesfully installed the language plugin for gpEasy. This is works excellent. Thank you. I have a question, how can I make a different language menu, because I can't change its language. Please help me. Thanks
I have installed it already, but I need to change the Menu language too. Could you help me? Other is very-very good. Good job.
NO. You don't understand me. All of them is excellent, but I need my site TOP menu, and Side menu name to translate. You know, example I made a site, called About us. the site name translating very good, includede text translating very good. But navigation Menu I made in English "About us", and I need to translate it to Hungarian too, it will be called "Rólunk" It doesn't work. Only this navigation menu doesn't work. I hope you could understand me.
No Admin iterface language, that's no problem for me. I need to change the menu only, but not on Admin interface. I have Skype or MSN if you want to help me, I can send you some photos about my problem
This is the problem, I follow that you wrote me, but doesn't work. Maybe I don't understand well something. If I changes the label name, in all language will be that. I need in different language, different label text. Good night and thank you in advance!
It doesn't work. I already installed a new gpEasy that I used with default theme. I installed only this Add-on, but doesn't work. Do you have any ideas? Thank you very much a lot of help. Please try to find a good solution for me.
I already made a website http://www.handsome.hu, username: handsome, password: 123456. Please check it, I installed the language plugin too. Thank you
I did the same, that you have shown, but it does not work. What could be the problem? I think that you have different installation files.
any ideas about my questions? I did it!,I did it!,I did it!,I did it!,I did it!,I did it!,I did it!,I did it!,I did it!, I did it!, I did it!
Thank you so much! I've found the error. The error was an older "Languages_plugin_for_gpEasy233" plugin. I downloaded the updated version and it works perfect.
Thank you so much again! Have a good day!
Hi, language file for version 2.3.3 is deleted :-( please send new. Thanks
Version 2.4 doesn't work for me. I've installed a virgin gpEasy v.2.4 and v.2.4 language plugin. Early version is working excellent now, but his now one doesn't.
Thanks Stano. I should be able to take a closer look at the plugin in a few days
Hi again :-), i install gpEasy 2.4 and Language addon. It works well but does not translate "External link". Also strange is functioning "Sidebar". Any ideas or solutions? Thanks
Wow Stano! I didn't realize your plugin was so extensive.
Personally, I continue to struggle with where to go on this idea. I think Wikipedia does a great job of handling multiple languages. As an example, look at their Content Management System page. The Czech version of that page isn't just a replacement of the English content at the same url, it's a completely localized url with a localized slug: http://cs.wikipedia.org/wiki/Systém_pro_správu_obsahu. This approach allows search engines to index both versions and accurately send people to the appropriate content.
A site structure within gpEasy where users create pages like /en/Content_Management_System and /cz/Systém_pro_správu_obsahu is now possible with 2.4. It would take a little more work from users, but it would be much better from an SEO perspective. gpEasy would then need a way to associate those two pages as translations of each other.
I'm sure I'm missing something though...
Ahoj, tak jsem se teprve teď k tomu dostal. Moc dík za úpravu, funguje perfektně. Ještě jsem zjistil problém se zmenšováním obrázků, v CKeditoru zmenším obrázek v náhledu editoru je vše v pořádku a když dám uložit a zavřít tak zmizí stylování a obrázek je v původní velikosti. Když stránku zase otevřu v editoru tak tam zase styly jsou :-(
A pozor to nejlepší nakonec, tohle se děje jenom na webu, na "localhost" je to v pořádku.
Divné věci mezi nebem, zemí, klávesnicí a židlí :-)
Ještě jednou dík za úpravu pluginu.
Hi, so I only got to do now. Thanks very much for editing, it works perfectly. I have encountered a problem with shrinking images in CKeditoru scale down an image preview in the editor everything is fine and when I will save and close the styling disappears and the picture in original size. When I open the page in the editor again and again there are styles :-(
And best of all beware, this is only happening on the Web at "localhost" it's okay.
Strange things between heaven and earth, keyboard and chair :-)
Once again, thanks for editing plugin.
I've created a multi-language addon that takes a slightly different approach to this idea: http://gpeasy.com/Special_Addon_Plugins?cmd=download&id=159 (Requires gpEasy 3.0b1+)
If you have questions/comments for this addon, feel free to submit them directly to the addon support page: http://gpeasy.com/Special_Forum?show=f1159
(edited to fix links)
@Stano, I hadn't thought of that and I like it.
p.s. Since the discussion of this idea is getting long, I'd like to focus discussion of the new plugin at gpeasy.com/Special_Forum?show=f1159
Hello Josh, I think now all the comments about my abandoned plugin,
begining from 2012-03-02 03:19 until are now obsolete and needless, and can be cleared without any harm.
I'm not a fan of deleting other people's comments unless they're spam. Each comment was part of the process that got us to where we are now. And since there's no harm in leaving the comments, I'd rather keep everything in context and not erase the process that helped us along.
Ok Josh. I have erased all my old comments, they are useles now. Life is a change. :)
I've marked this idea as complete but that doesn't mean we can't make the addon better.
Anyone can leave questions and comments about this addon at http://gpeasy.com/Special_Forum?show=f1159
You must be logged in to comment on an idea.
Less.php: less.js ported to PHP