.par application Internationalization (I18N) ?
how can we do the .par application Internationalization (I18N) ?
can we tell me the step by step procedure please.
Portal Internationalization is not stright forward like Web Dynpro's.
Simple approach is Create .properties file in your project and read it from your JSP file or any where.
Go to package explorer navigate to dist -> PORTAL-INF -> private -> classes ->
Entries for this properties file
Write a method in your JSP file to read
String backString = getString(componentRequest, "BACK_STR");
private String getString(IPortalComponentRequest request, String resource_key)
ResourceBundle bundle = ResourceBundle.getBundle("translations", request.getLocale());
return "Null Back "+e.toString();
Hope this is useful to you.
Edited by: Sridhar k on Aug 19, 2009 3:44 PM