RTL in a LTR forum

Having a question about translating phpBB3? Want to discuss and collaborate with people currently translating phpBB3? Here would be the correct place to do so.
Scam Warning
Locked
thetobster
Registered User
Posts: 12
Joined: Mon Apr 19, 2010 2:13 am

RTL in a LTR forum

Post by thetobster » Thu Feb 16, 2012 6:40 pm

Hello,

I have a forum that is used by mostly by English speakers in Israel. Occasionally people want to make a post in Hebrew with properly formatted RTL text. Is there a way to do this? Perhaps with BBCode? I have loaded the Hebrew language pack but I don' think it helps this specific issue.

Thanks in advance for the help!

Tobin

thetobster
Registered User
Posts: 12
Joined: Mon Apr 19, 2010 2:13 am

Re: RTL in a LTR forum

Post by thetobster » Sat Feb 18, 2012 11:49 am

The solution I found is to create a custom BBCode called RTL that then can have a button with the other BBCodes. To do this, navigate to the Posting => BBCodes section of the phpBB3 administration panel and click "Add a new BBCode." Then, put in the following:

BBCode Usage:

Code: Select all

[RTL]{TEXT}[/RTL]
HTML Replacement:

Code: Select all

<p dir="RTL">{TEXT}</p>
Make sure to check display on posting page so users know they can use it.

You may also want to create a LTR but if your board default is LTR then it shouldn't be needed.

jimi007
Registered User
Posts: 11
Joined: Mon Nov 24, 2008 5:57 am

Re: RTL in a LTR forum

Post by jimi007 » Sun Mar 08, 2015 11:17 pm

Thanks its helps a lot.

Locked

Return to “[3.0.x] Translations”

Who is online

Users browsing this forum: No registered users and 3 guests