Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Use external properties-files to localize report

  1. #1
    Join Date
    Dec 2005
    Posts
    531

    Default Use external properties-files to localize report

    Hi,

    I'm trying to find a way to support localization of many reports that is easy to maintain. If I create the .properties-files in PRD all is well for the moment, but in order to change a common translation or add an item that is relevant for multiple reports, I would have to make the changes to each and every of these reports. Therefore I want to put common translations in centrally stored properties-files on a BI Server and have the reports pick them up at runtime.

    In the older PRD versions you could set a Resource Path http://wiki.pentaho.com/display/Repo...lizing+Reports my question is where do I do that in the newer PRD versions (e.g. 3.8.2) and can this path be an URL, preferably supporting the env:: variables?

    Thx and regards,
    Ingo

  2. #2
    Join Date
    Mar 2003
    Posts
    8,085

    Default

    In PRD-3.5 and upwards, we only load via the classpath. If the file is in the bundle, we try to load it from there first, otherwise we try to load it as file from the classpath.

    So if you either put your files into "WEB-INF/classes" or add the directory with your bundles as part of the classpath, it will work with the shared resources.

    Loading from other sources is not supported right now, but could be easily added if you file a JIRA case
    Get the latest news and tips and tricks for Pentaho Reporting at the Pentaho Reporting Blog.

  3. #3
    Join Date
    Dec 2005
    Posts
    531

    Default

    Here is the JIRA case: http://jira.pentaho.com/browse/PRD-3677

    I hope the use case makes sense. If not or you already have a better approach for this use case, let me know.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.