alf@melmac
3rd April 2008, 20:27
Hi *ALL,

we have a Baan5.0c environment with lang 1-4 installed. Actually we need to add reports in other languages like swedish (9), norwegian (8) and hungary (m). Works okay and adding labels and messages in these languages was stupid, but at the end okay athe reports were okay. Users now use such reports and all is working well.
But in log.bshell I found hundreds messages like:

2008-04-03[18:17:08(UTC-01:00)]:E:bsp: Errno 0 bdb_errno 111 (No record found)
2008-04-03[18:17:08(UTC-01:00)]:E:bsp: Log_mesg: Language 9 error in domain 't
taad.monm'

They have no impact, but pollute the log.bshell totally.

Of course I thought to add these manually in the dtt.pd file, but a Create RTDD for Tools will redo my changes in the Runtime-file right away.
So: Is there any domain-table-dumps for that langauges for Baan5.0c available that I can add ?
Or you in general have a better idea to come over (but do not tell me please to make a basic-installation in these langauges ...)

Thanks for a hint. Not a big issue, but maybe someone has a solution out of the box.

Cheers,
alf; actually at melmac´s 2nd home: Hisings Backa (Gothenburg) - Sweden

pconde
4th April 2008, 08:44
Hi,

the error messages are coming because some enum descriptions are missing for the new language
you can add these in table ttadv402 via general table maintenance. Copy from language 2 to the target language. ttaad.monm are the month name, there is also the day name and the short version of these two. They are used by the print date/time

Regards
Philippe

günther
4th April 2008, 14:18
Hi,

I also had that problem some time ago. My solution was a workaround, but who cares? I edited the file $BSE/tools/dd/dtt.pd/dttp.pd. Its an ASCII file that is read when you login. When you search for ttaad.danm, you might see
[code]
:NAME:ttaad.danm
:TYPE:e1234
:BSET:7
:001sunday~Zondag~Sunday~Sonntag~Dimanche
...
[code]
So, obviously the line TYPE means we have languages 1-4, and the line 001 meany the enum sunday is Zondag in language 1, Sunday in language 2 and so on.

What I did: change TYPE to e.g. e12345 to add a new language 5, and change lines 001 to 007; add a tilde and then the day name in that language.

Save the file, login to baan, should be okay now (for this domain; you get the idea).

But keep in mind, that the solution of pconde normally is better, but I strongly believe that you need a convert to runtime after writing to the database so that you generate the above file.

Günther

jclju1
4th April 2008, 14:48
Or you in general have a better idea to come over
There is a session for copying language dependent SW component. So, you can use this session for copying missing components from english to one of languages and after that create RTDD. If you copied tools domain you have to run Create RTDD for tools and check field "Also dump data definitions". Of course be carefull when running RTDD, users must leave application before you start this session

vagimi
26th March 2009, 11:44
Hi,

I also had that problem some time ago. My solution was a workaround, but who cares? I edited the file $BSE/tools/dd/dtt.pd/dttp.pd. Its an ASCII file that is read when you login. When you search for ttaad.danm, you might see
[code]
:NAME:ttaad.danm
:TYPE:e1234
:BSET:7
:001sunday~Zondag~Sunday~Sonntag~Dimanche
...
[code]
So, obviously the line TYPE means we have languages 1-4, and the line 001 meany the enum sunday is Zondag in language 1, Sunday in language 2 and so on.

What I did: change TYPE to e.g. e12345 to add a new language 5, and change lines 001 to 007; add a tilde and then the day name in that language.

Save the file, login to baan, should be okay now (for this domain; you get the idea).

But keep in mind, that the solution of pconde normally is better, but I strongly believe that you need a convert to runtime after writing to the database so that you generate the above file.

Günther

Hi,
I edited the file $BSE/tools/dd/dtt.pd/dttp.pd to add de language 4, but there is still the problem.

D
:NAME:ttaad.daab
:TYPE:e245
:BSET:7
:001sunday~Sun~Dim~Dom
:002monday~Mon~Lun~Lun
:003tuesday~Tue~Mar~Mar
:004wednesday~Wed~Mer~Mié
:005thursday~Thu~Jeu~Jue
:006friday~Fri~Ven~Vie
:007saturday~Sat~Sam~Sáb
:DMMS:ttaadd0004
:PLEN:3
D
:NAME:ttaad.danm
:TYPE:e245
:BSET:7
:001sunday~Sunday~Dimanche~Domingo
:002monday~Monday~Lundi~Lunes
:003tuesday~Tuesday~Mardi~Martes
:004wednesday~Wednesday~Mercredi~Miércoles
:005thursday~Thursday~Jeudi~Jueves
:006friday~Friday~Vendredi~Viernes
:007saturday~Saturday~Samedi~Sábado
:DMMS:ttaadd0004

Have I to do something more?
Thanks

günther
26th March 2009, 12:28
Hi,

did you logoff / logon to baan (because the data dictionary must be read again)? I think your file looks okay!

Günther

vagimi
27th March 2009, 11:15
Hi,

did you logoff / logon to baan (because the data dictionary must be read again)? I think your file looks okay!

Günther


Ok, you're right!
Thanks for your reply!

Regards,
vagimi

layswan
24th August 2011, 06:30
Hi,

I m facing the same problem too. I m getting a domain error msg "Language s error in domain 'tdsls.hdst'. But i could not find this domain in $BSE/tools/dd/dtt.pd/dtt.pd file and one more thing is that my system only have language type 2 but why the error msg showed language s? :confused:
My event viewer was full of this type of error.

Help......:(

Thanks!

jclju1
24th August 2011, 11:43
"But i could not find this domain in $BSE/tools/dd/dtt.pd/dtt.pd file "

You can find this domain in file $BSE/../dict/ddpack_comb/dtd.pd/dtd.pd file.

Check your domains, do you have this domain in any language (I think this domain is not standard domain)?

layswan
24th August 2011, 11:57
Hi,

Thanks for your reply.

Ya, u r right that i could find the dtd.pd file from the server and the tdsls.hdst domain already exist in the file as below
D
:NAME:tdsls.hdst
:TYPE:e2
:BSET:10
:002suspended~Suspended
:005free~Free
:010approved~Approved
:020in.process~In Process
:025modified~Modified
:030closed~Closed
:035cancelled~Canceled
:040blocked~Blocked
:045released~Released
:050not.applicable~Not Applicable
:PLEN:25
D

But still have the same error msg. :confused:

I already check the domain, it is a standard domain but use in customization session and my system only have one type of language that is type 2 (English).

Please refer to the attachment for the standard domain and language type.

Please advice! :(

Thanks!

layswan
24th August 2011, 11:59
Sorry forgot to attach file.

jclju1
24th August 2011, 12:11
OK, I thought that you are talking about Baan IV (add ERP LN to your profile) and in Baan IV this domain is not standard.
You have to check your session, why this session expects domain in non-existing language.
As workaround you can define s language, but better idea is to check customized session.

layswan
24th August 2011, 12:27
Hi,

Do u have any idea on where to check the language in the customization session? :confused:

Thanks!