sneak peak Multiple Language Package

Permalink
hi, is time for a little sneak preview of a package I'm developing on. In our company we often have requests for multilingual websites, so I decided to write a separate package for our requirements.

now it runs so stable that it can show it to you. watch the Mp4 under this link.

http://taggerdog.pixelwg.de/Multiple-Language-test.mp4...

In this package is a special Content- and Autonav Block, I named it Multicontent and Multinav. Multinav performs the processing of the rewritten urls and Multicontent block stores its content in an xml format to the database.

So you don't need special things on the templates. they can be use as normal, with no extra coding.

todos:
- an override option in Edit Mode, to see the whole page in your preferred language
- Menu attributes to the Multinav Block to display in each language

do you have any other ideas or suggestions?
perhaps I should offer it in the marketplace?

wrongspot
 
frz replied on at Permalink Reply
frz
Someone submitted a similar solution for their own multi-lingual needs a while ago, basically rebuild the blocks they used to offer different languages. The fundamental challenge I see with this kind of approach to the problem is it effectively negates every block that isn't recreated to behave within it.

I wish there was a way that a multi-lingual solution could be more graceful about the existing data structure and extendability in concrete5 today..

of course, whatever solves your immediate problems is cool as we're not addressing the problem.
ThemeGuru replied on at Permalink Reply
ThemeGuru
Watched the preview. Not bad.

Its maybe you should release to the community via forums, probably not the mp as its more of a core thing.

Now only if you could work on converting the standard blocks - forms and such.
Shotster replied on at Permalink Reply
Shotster
> ...as we're not addressing the problem.

Are there plans to?

-Steve
bryanlewis replied on at Permalink Reply
bryanlewis
This is an interesting approach. I like what it does but I agree with what ThemeGuru says. I don't think its MP friendly yet. In this state its more of an advanced user type of a thing.

Although Chad has a more advanced approach to one of his blocks in the MP. You might want to talk to him to see if his more advanced blocks are selling more than his simple ones or vise versa.

http://www.concrete5.org/marketplace/addons/scrolling-wrapper/...

Great start though!
wrongspot replied on at Permalink Reply
wrongspot
hi there

not really core hacking. I tried to put it in a package without touching the core. if you uninstall it, everything works as before. The most modifications are in the Autonav (Multinav) Block. The first level is working as usual, because this is where the language level sit. All other level are modified and controlled by the rewrite variable from the htaccess file. Then all content is physically under one language branch.

All other blocks are working exactly as before and you can copy the Multinav & Multicontent Block to the scrapbook and back.

The only big problem I see, is to index your content without core hacking. The function
function getSearchableContent(){
.....
}


is responsible for exactly one url and one piece of content.