-
How to make Post Nuke .76 RTL - LTR complient
(News)
-
the text right instead of left but it is also setting the direction to RTL so that the dots, comma, paranthesis shuold look right.
Now looking at the new RC .76, I had to apply the following fixes to make it working with the Arabic language and I am sure the other RTL language users can follow the same procedure to fix the issues. I also wish that the devolopers should take that into account in the future releases:
·On the global.php language file add the following constant to the RTL language file:
o _DIRECTION = RTL
o _ALIGNL = Right
o _ALIGNR = Left
·for the other languages like english if you are planning to use multi languagesite add the following constants:
o _DIRECTION = LTR
o _ALIGNL = Left
o _ALIGNR = Right
·Now scan through all the .php , html files, if there is any output to the browser like table alignment, text alignment, cell formatting, or any thing that mentioned :
o Left ===> replace with _ALIGNL
o Right ==> replace with _ALIGNR
That goes to all .php and css files.
·For the conventional themes to work well, go to the module “header_footer†and add the following line just before the tag:
body { direction:; }
That also apply to the eXanthia themes.
·Go over the new HTML templates for the admin module or exanthia theme and any other module and apply the same. Note that if you want to replace a something on the HTML template file then you have to use the following format:
or
·On the Typetool editor, that was a problem by itself, I could alter one line to let it load by default as RTL however, it cannot be modified so that you can have buttons for both options. The editor code is using the command “ExecCommand†which does not support altering the direction. That should be looked at and evaluated in the future by the postnuke developers. You can add the following line :
o setTimeout("document.frames['"+FID+"'].document.body.style.direction='RTL'",200)
somewhere in the function initDefaultOptions0(FID) in the file quickbuild_IE and quickbuild_MOZ. Also, the file language.js needs to be translated if you wish to the language you want but then it will not help if you want to use multilanguage site.
That was in summary what I have done to make Post Nuke RTL. Sorry to make such short but if you have any questions or concerns please contact me at fayez2@fayez2.com or at my web site www.fayez2.com .
Thanks
Generated on March 7, 2005.
-
Arabic Translation and RTL fixes been released
(News)
-
I would like first to recognize the great work done by the developers to come up with such peace of art.
The new release made life much easer since it is seperating the HTML from the code since that the Arabic language is an RTL languge which means that we have to make sure when doing the translation that the HTML also should be right to left compliant.
As soon as I have some time to spare I will post either an artical or a forum post an explenation of the best practices for implementing the RTL fixes which includes the eXanthia and the typetool fixes.
Thanks again
Fayez2.net
for download please click here
Arabic note: لقراءة النص العربي من هذا المقال يرجى الضغط هنا
Generated on March 1, 2005.
-
Arabic language translation for PostNuke .726
(News)
-
files) to accept the Arabic character in user names and helps in the Document Direction (Arabic Language is read from right to left).
modified and translated the PostNukeBlue theme to change the direction of the page (rtl and ltr).
modifications are written in the included readme file.
Can be downloaded in RAR format from here::
Arabic Translation 0.726
Regards,
me7tar
www.estra7a.ne
Generated on August 21, 2003.
-
Postnuke: How multilingual is multilingual?
(News)
-
Arabic
Bulgarian
Catalan
Chinese (Simplified)
Chinese (Traditional)
Czech
Croatian
Danish
German
Greek
English
Esperanto
Estonian
Finnish
French
Hebrew
Hungarian
Indonesian
Icelandic
Italian
Japanese
Korean
Latvian
Lithuanian
Malay
Dutch
Norwegian
Polish
Portuguese (Portugal)
Portuguese (Brazil)
Romanian
Russian
Russian (KOI8-R)
Slovenian
Spanish
Swedish
Thai
Turkish
Ukrainian
Yiddish
Klingon
Generated on August 31, 2002.
-
Arabic Support for PN 71x
(News)
-
Generated on May 4, 2002.
-
PostNuke takes over the Kingdom of Bahrain's official website!
(News)
-
site a true Bahraini portal serving the local and international communities with topical and helpful information about our Kingdom.
We're looking to customize PN711 as well and will migrate into 711 as soon as we finish that job.
http://www.BahrainToday.net was previously running custom code developed in-house. During it's brief history (original site launced in February 2002) until today after the conversion to PostNuke, we have had more than 500,000 hits! So it could also serve to "stress-test" PostNuke. It is also worth noting that this is the very first government site running completely on Linux (RedHat 7.2) so that's another battle won!
As the proof of concept is now done, we are looking for a full time PostNuke developer to live in our lovely Kingdom for an initial period of one year. The candidate must be completely savvy with PostNuke's programming, customization, and very good at writing custom modules. If any of you are interested in spending some time in the sun, please contact me at mahmood@bahraini.tv and let's start talking!
I would like to thank all the PostNuke developers for their dedication and the wonderful product they created, I hope now that I will be able to release all Arabisation and customization done back to the community so that others will benefit.
I think the first in the pipeline is to release the Arabic translations for PostNuke 711 once the team of translators are done with it, later you will receive our recommendations that hopefully will get some attention from the developers, the most difficult part of the job was removing all the ALIGN statements and replacing them with variables in the language file as well as ensuring that the "right-to-left" directionality required in Arabic is good. Some of that work has been done in the core files as well unfortunately but that was the only way we can get the right-to-left and left-to-right directionality to work correctly.
Go PostNuke!
Best regards
Mahmood Al-Yousif
http://www.bahraintoday.net
http://www.bahraini.t
Generated on March 28, 2002.
-
ARABIC TRANSLATION FOR POSTNUKE 7.1
(News)
-
Generated on March 24, 2002.
-
Totally Lost
(News)
-
1. arabic translation, i wanna know how to translate (bahraini.tv is 0.64)
2. i wanna know how to add languages
3. i wanna know how to add modules
4. i wanna know how to change the links on top, mine still points to postnuke.com stuff
5. i wanna set up a multi-site but due to the above mentioned problems am gonna take it step by step.
i wanna know a lot of stuff but i cant find it under docs.postnuke.com where half the links are forbidden ( i think this means that its not working)
i m not a programmer, but i m willing to learn if someone will help me and am even willing to help with the documentation, if
Generated on March 12, 2002.
-
Arabic Rouge
(News)
-
Generated on February 16, 2002.
-
Total language translation feature?
(News)
-
everything else on the site in English, by just selecting English as my language interface. Like a truely international portal system.
Is this a very unrealistic idea to implement or possible, but very laborious? Are there perhaps PHP libraries that could aid the Post-Nuke developers in reaching this goal?
Anyway just some thoughts to play around with. A big thanks to all you Post-Nuke developers, you've been doing an awesome job! I'm extremely busy right now, but I hope to eventually help as a developer later this year...
Generated on November 21, 2001.