Comments (3)
I have tested your report and I cannot confirm your issue.
Because I can create with your report the switch between EN & DE.
I switch the report local on the report in the beforeFactory()-method.
importPackage(Packages.java.util);
var lc = new Locale("de_DE"); // var lc = new Locale("en_US");
reportContext.getDesignHandle().setStringProperty("locale", lc);
The only thing what I have changed is that you havn't added the default local file correctly on the source side.
The configuration and beforeFactory
Result of your report EN & DE
Here is your report version little bit changed
PsaRptPrsIntProSal-locale-example.zip
from birt.
Please test the changes from your side but I cannot see an problem because it works correctly on header.
Please test the version and the footer version. I will close the issue but we can reopen it later.
If you have further questions we can start a discussion stream.
from birt.
Hi,
the problem I described only appears when there is a mismatch between template name and ressource file name.
=> You can close this ticket.
In the RCP designer only the ressource file(s) entered for report object have an impact on the translation.
In case of 2 ressource files the upper one wins.
In the runtime the the ressource file(s) entered for report object are completely ignores.
Here, the translation file is programmatically set.
Thanks, Reiner
from birt.
Related Issues (20)
- Excel, the text option line-through should be supported HOT 2
- BIRT 4.16 202405030536, Designer-Crashed: topic depended on JRE 17 vs. 21 HOT 19
- Excel & Indent: implementation of the "indent"-option for excel output HOT 2
- High CVE-2022-41852 for commons-jxpath version 1.3 HOT 5
- An "end" is missing to close the "begin" in Postscript emitter HOT 6
- Fixing of eclipse warnings noted at change of #1667 HOT 1
- "lakhs format" is not being applied correctly when used with aggregate functions. HOT 9
- Birt Report Calling Problem from JSP
- Data Binding Refresh Button disappeared HOT 5
- Designer preview not working when installation path contains space(s) HOT 2
- ECMAScript 6, additional change to improve the "syntax highlighting" (based on 1574) HOT 1
- Excel, error on file opening when large column-width used at tables-/grid-definition HOT 1
- BIRT-designer/Nightly Build 4.16.0-202405152028, Report invisible & error on opening of reports - GraphicalEditorWithFlyoutPalette.getGraphicalViewer() throws NPE HOT 12
- Query text: enhance syntax highlighting to support more the sql standard data types HOT 2
- Sorting Column Bindings HOT 3
- Enhance the SQL-DataSet-Editor with a search option - see #1584 HOT 8
- BIRT 4.15 can't be used under Eclipse RAP HOT 4
- Can't generate Excel file: Could not auto-size column. Make sure the column was tracked prior to auto-sizing the column. HOT 1
- How to initialize Date picker in report parameters in birt HOT 6
- Need help with Serial No. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from birt.