gpEasy Feedback

22 votes
Vote Up

multi-language solution

Follow This IdeaBy phelan2 years ago48 CommentsCompleted 11 months ago

Hello,

I am looking for a multi-language solution. My thoughts are so far:

Creating the main language:

/data/_page/index.php
code: $multilang = 'en';

Creating the language folder:

/data/_page/en/  (http://example.com/en/)
/data/_page/de/  (http://example.com/de/)
/data/_page/it/  (http://example.com/it/)
/data/_page/fr/  (http://example.com/fr/)
...

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!

Comments

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:

  • Possible languages; This is a list of possible languages which can be used for visitors choice and section setting.
  • A setting for falling back; This setting controls if content must be exclusive in the visitors language, or if not what content (all/default language/one of available) is shown if there is no match for the visitors language.

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.

With a bit of javascript and section editing it is possible to do this in existing gpEasy sites from clientside.

 

1 year agoAdd Comment

-

Edited: 1 year agoAdd Comment


Stano ; How to install your plug in ?

1 year agoAdd Comment

-

Edited: 1 year agoAdd Comment

thank you

1 year agoAdd Comment

I get errors that appears

I would like to install this plugin in gpeasu2.3.3

it is possible !!

thank you

1 year agoAdd Comment

-

Edited: 1 year agoAdd Comment

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 ) ???

 

thanks

1 year agoAdd Comment

-

Edited: 1 year agoAdd Comment

@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?

1 year agoAdd Comment

-

Edited: 1 year agoAdd Comment

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

Edited: 1 year agoAdd Comment

-

Edited: 1 year agoAdd Comment

Hi,

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
 

1 year agoAdd Comment

-

Edited: 1 year agoAdd Comment

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.

Edited: 1 year agoAdd Comment

-

Edited: 1 year agoAdd Comment

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.

Edited: 1 year agoAdd Comment

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

1 year agoAdd Comment

-

Edited: 1 year agoAdd Comment

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!

Edited: 1 year agoAdd Comment

-

Edited: 1 year agoAdd Comment

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.

thanks

1 year agoAdd Comment

I already made a website http://www.handsome.hu, username: handsome, password: 123456. Please check it, I installed the language plugin too. Thank you

1 year agoAdd Comment

-

Edited: 1 year agoAdd Comment

Thank you!

1 year agoAdd Comment

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.

 

Edited: 1 year agoAdd Comment

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!

 

Edited: 1 year agoAdd Comment

-

Edited: 1 year agoAdd Comment

-

Edited: 1 year agoAdd Comment

Hi, language file for version 2.3.3 is deleted :-( please send new. Thanks

1 year agoAdd Comment

Hi,

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.

 

1 year agoAdd Comment

-

Edited: 1 year agoAdd Comment

Thanks Stano. I should be able to take a closer look at the plugin in a few days

1 year agoAdd Comment

-

Edited: 1 year agoAdd Comment

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

1 year agoAdd Comment

-

Edited: 1 year agoAdd Comment

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...

1 year agoAdd Comment

-

Edited: 1 year agoAdd Comment

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.

vanTomas

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.

Edited: 1 year agoAdd Comment

-

Edited: 1 year agoAdd Comment

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)

Edited: 1 year agoAdd Comment

-

Edited: 1 year agoAdd Comment

@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

1 year agoAdd Comment

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.

- Stano

Edited: 1 year agoAdd Comment

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.

12 months agoAdd Comment

Ok Josh. I have erased all my old comments, they are useles now. Life is a change. :)

Edited: 11 months agoAdd Comment

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

Edited: 11 months agoAdd Comment

New Comment

You must be logged in to comment on an idea.

gpEasy News

gpEasy 4.0
5/21/2013

The finishing touches of our latest release have been made and gpEasy 4.0 is available ... Read More

Third 4.0 Release Candidate
5/13/2013

The third release candidate for gpEasy 4.0 is now available. Next release: 4.0 Final! Download ... Read More

More News