Giter Club home page Giter Club logo

Comments (4)

uwemaurer avatar uwemaurer commented on June 24, 2024

Hi,

It is unclear to me where this character 'e' comes from. Did you add your own resource bundle property files? In the files which are included with this ebics client the date format is defined as

Letter.dateFormat = dd.MM.yyyy

in src/main/resources/org/kopi/ebics/letter/messages_en.properties

And what Java version do you use?

from ebics-java-client.

Fabo09 avatar Fabo09 commented on June 24, 2024

Thanks for your answer

I did not changed anything. The Date Format is still the same. The File looks as:

Copyright (c) 1990-2012 kopiLeft Development SARL

This library is free software; you can redistribute it and/or

modify it under the terms of the GNU Lesser General Public

License version 2.1 as published by the Free Software Foundation.

This library is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU

Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public

License along with this library; if not, write to the Free Software

Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

$Id: messages_en.properties 2 2012-02-28 09:39:55Z bentaher $

#Common for all letters
Letter.bank = Bank:
Letter.date = Date:
Letter.dateFormat = dd.MM.yyyy
Letter.timeFormat = HH:mm
Letter.hostId = Host ID:
Letter.partnerId = Partner ID:
Letter.signature = Signature:
Letter.time = Time:
Letter.userId = User ID:
Letter.username = User Name:
Letter.version = Version:

#INI letter
INILetter.title = Initialization letter for signature certificate
INILetter.version = A005 Signature
INILetter.certificate = Electronic signature certificate:
INILetter.digest = Signature certificate hash (SHA-256):
INILetter.name = A005Letter

#HIA letter
HIALetter.x002.title = Initialization letter for authentication certificate
HIALetter.x002.version = X002 Authentication
HIALetter.x002.certificate = Electronic authentication certificate:
HIALetter.x002.digest = Authentication certificate hash (SHA-256):
HIALetter.x002.name = X002Letter

HIALetter.e002.title = Initialization letter for encryption certificate
HIALetter.e002.version = E002 Encryption
HIALetter.e002.certificate = Electronic encryption certificate:
HIALetter.e002.digest = Encryption certificate hash (SHA-256):
HIALetter.e002.name = E002Letter

I also tried and changed all the original files (src\main\resources\org\kopi\ebics ) from fr to en. But i had the same issus.

My java Version is: Version 8 Update 251 (Build 1.8.0_251-b08).
It's on Win10x64

from ebics-java-client.

Fabo09 avatar Fabo09 commented on June 24, 2024

I Found the problem

In the ebics.txt, i set the language code to de. After i changed that to en (or fr) it works fine.
Is there a way to change it to DE (DE-DE). And let the progamm take files as messages_de.properties?
if not i'll change the en file as a workaround.

from ebics-java-client.

uwemaurer avatar uwemaurer commented on June 24, 2024

Thanks for investigating this. I can reproduce the problem now and will work on a fix.

Yes you should be able to add a file "messages_de.properties" in the correct location (where the messages_en.properties" is)
src/main/resources/org/kopi/ebics/client/messages_en.properties
You need to do this for all the property files.

You can also set the default locale to english Locale.setDefault(Locale.ENGLISH);, then it will automatically fallback to the english strings if there is no matching german translation.

from ebics-java-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.