Foren / Cotonti / Extensions / Content Internationalization (i18n) of Sienna

ErsteVorherige123

Uch
#31 12. Februar 2014, 14:46
#39188 Trustmaster:

Uch, this is usually caused by Options directive in .htaccess, because it is hosting-dependant. Try different combinations of Options like, -Indexes, +Indexes, -FollowSymLinks, +FollowSymLinks.

It did not help :(

Ben
#32 30. März 2014, 22:16

Hello mates :)

Anyone here who can tell me how to use html parsing with I18n Plugin?

I'm using CKEditor for Pages (HTML Parsing) and for Comments/Forums (BBCode) Parsing

 

When I want to translate a Newsarticle X on my Site (containing HTML) it doesn't parse the HTML

 

Any Ideas?

 

Ben

 

Macik
#33 2. April 2014, 09:07

On what step you get « unparsed HTML» ? 

https://github.com/macik
правильный хостинг — https://goo.gl/fjCa1F
Ben
#34 2. April 2014, 16:51

As an Example:

1. I add regularly a News Article -> Article contains embededd Video, html tags ...

2. I klick on Translate

3. I'm in Translationmode

- On the left side I see the HTML Sourcecode of the Article

- On the right side I see the Article in CKeditor  how it should look like.

4. I translate the text and fire the send button.

Result: Article is published as text , showing all the html syntax

 

do you know any solution?

 

Twiebie
#35 2. April 2014, 17:10
#39359 Ben:

As an Example:

1. I add regularly a News Article -> Article contains embededd Video, html tags ...

2. I klick on Translate

3. I'm in Translationmode

- On the left side I see the HTML Sourcecode of the Article

- On the right side I see the Article in CKeditor  how it should look like.

4. I translate the text and fire the send button.

Result: Article is published as text , showing all the html syntax

 

do you know any solution?

 

On the left side it should show the normal page content, not the source code. Can you confirm that?

Does editing the page work? Can you confirm the parser it set to HTML for that particular page?

Ben
#36 2. April 2014, 20:44

Well I figured it out now.

Thanks Twiebie for your hint :)

 

The problem was. I used Globally BBCode Parsing ( Forums,Comments) and HTML Parsing just for Pages.

For adding normal news articles it choose html parsing automatically. But i18n uses the standard parsing method (in my case BBcode)

 

This opens a new question: When I want to use BBCode Parsing for Forums + Comments. How do I have to set up my system?

There should be a switch (choosing parsing method) in translation mode (like when you write normal news articles).

 

Any suggestions?

 

Thanks a lot four your help!

 

Added 6 minutes later:

For everyone wondering how it looks like when parsing method is set to bbcode with i18n

Adding normal article:

 

Translating Article:

Final result:


Dieser Beitrag wurde von Ben (am 2. April 2014, 20:51, vor 10 Jahre) bearbeitet
Twiebie
#37 2. April 2014, 21:56

Hmm, if I remember correctly i18n uses whatever parser is set for the page module by grabbing $cfg['page']['markup']

Are you sure yours is set to HTML in: admin.php?m=config#get;m=config&n=edit&o=module&p=page?

Ben
#38 3. April 2014, 21:25

Yes I checked it 3 times.

But it's okay. I'm happy with it now :)

Don't know wether its a Bug or not. But someone could consider to add "choosing parsing method" to i18n Plugin.

ErsteVorherige123