Skip to content

Rhaptos Software Development

Personal tools
You are here: Home » Developer Blog » Kyle's Blog » I18n for RhaptosCommunity

I18n for RhaptosCommunity I18n for RhaptosCommunity

Document Actions
Submitted by . on 2005-09-26 13:33. Development
I added internationalization (i18n) support for the Rhaptos Community skins and cleaned up some bugs

The last two weeks, I cleaned up some bugs with the RhaptosCommunity product, and it is now closer to being ready for release:

  • removed dependencies on RhaptosCommunity from other products that I had altered
  • altered the HTML fields so that they will not accept or display dangerous HTML tags like <script>
  • made the similar content link in the search results functional.
  • customized the CMFBoard profile to point to my author profiles and the topic form to only accept html.
  • altered the install script so that the CommunityFolder instance that is created is called "communities" instead of "Communities" to be consistent with the rest of the site.
  • fixed one button that was displayed even if the user didn't have permission to click it
  • fixed the newest content portlet so that is displays inside the forum

The next step was to add i18n support to all my page templates. This mostly just involves adding a i18n:translate or i18n:name attrbibute to any html/tal tag that is displayed on the page. For the most part, it went very quick. However, I had a couple cases where the default translation wasn't being passed through correctly. I even tested the example from the tutorial on plone.org and it didn't work! After a long time trying to figure out the reason why it doesn't work, Brent and I finally figured out that you cannot have hyphens in an i18n:name attribute. So, I changed the -'s to _'s and everything worked fine.

Also, as a final test, I created a mockup DSP community based on an example that Doug Jones sent us. It looks pretty useful to me. If you want to check it out, IM me for a link to my Plone instance.

Developer Blog
« November 2008 »
Su Mo Tu We Th Fr Sa
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
2008-11-10
13:39-13:39 Suggestion for live site slowness reports
Categories:
Content (55)
Copyright (0)
Deep Code (3)
Development (203)
Markup (22)
Metadata (1)
Printing (7)
Style (9)
Testing (2)
Usability (6)