Multilingual reports

I'm writing an application that needs to present reports where the metadata i.e. header names etc, are in a different language depending an the client. For instance, I want to print all unprinted invoices, but english clients should get english text, swedish clients swedish text etc. So, before each new invoice is printed, I would like to have the opportunity to select which language each page should be represented in.

Now I have different report files in different languages. But that means I have to choose a language before the report starts. That makes the language the same for all clients.

How will I best achieve multilingual reports this way?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 1:19AM
    a lot will depend upon where you store what (dataset/table/query) a language flag for a specific customer.
    since you already have seperate language version reports
    one may be to run a query retreiving the customer info records you want grouped by the language flag
    then use that query to load and run a language specific report in a for loop or a case statement.
    and set a language param or filter for the report's data queries.


Leave a Comment