Home Blog : Customizing ALUI Portal Text
󰀄

Virtually all text strings in the portal have been extracted to XML files, mostly for internationalization. Check out %PORTAL_HOME%ptportal6.1i18nen for these files. Why should you care? Here are a couple reasons:

  1. I had a customer who didn’t like calling Communities Communities. They wanted to call them “Spaces” or something like that. By simply doing a search and replace in these files, they were able to do that.
  2. Customizing the text that shows up on the login form is also a big feature (explaining to users which Auth Source to pick, for example); simply find the text in ptmsgs_portalbrowsingmsgs.xml, and replace it with whatever you want.
  3. New files can be created here that allow you to create your own string files for use in your own code. That way, text can be easily changed later as needs evolve.
  4. If you know the index of the string you want to use, you can use Adaptive Tags to get the portal to transform it for you, including internationalization support. For example, suppose you’re writing a login portlet; take this section of ptmsgs_portalbrowsingmsgs.xml:

    … and instead of putting the text “Create An Account” in your HTML, you could use:

    <pt:logic.value pt:value=”$#1.ptmsgs_portalbrowsingmsgs”/>

    Then, this Logic Tag will automatically transform the text in your portlet into the appropriate language for the string with an ID of 1 (“Create An Account”).

  1. avatar
    July 25, 2013

    Matt, I know this is an old thread, but perhaps you may be able to help me. I am trying to manipulate an ALUI 6.1 portal so that the default logout link is redirected to a particular page (let’s say Google.com). I do not have access to a Java developer or an ALUI support expert. Is this something that can be done without complex Java/XML development?

Comments

Write a comment:

*

Your email address will not be published.

󰁓
󰀰 󰀩 󰀭 󰀎