Maybe this is a late reply to you, but may help who is searching about Dynamic Page/Portlet.
Look the great article at http://www-128.ibm.com/developerwork...ngehausen.html
In the download section there is a WAR with the example used in the article and there is an implementation of LocalizedImpl class.
Best regards,

Helder Sousa