Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2011-10-21 14:21:58

JMB365
Member
Registered: 2008-01-19
Posts: 781

English localization of mess file (Ver 11.0.29)

Hello,

In reference to the message posted here: http://www.code-aster.org/forum2/viewtopic.php?id=15838 and I quote:

Thomas DE SOZA wrote:

Indeed with the latest version (11.0.29 as of now) you will have the english localization of the .mess file (as well as the bug fix for MED as mentioned above by Nicolas). TdS

I updated to the latest version 11.0.29, today in the hopes of finding that the mess file would be localized into English, but it it is still in French, as the attached file shows.  I there something else I need to do make this happen, besides my having run:

cd /opt/aster/NEW11.0
/opt/aster/bin/as_run --auto_update --nolocal --vers=NEW11.0

Thanks for any suggestions or fix.

Regards, JMB


Attachments:
mumps01a.mess, Size: 117.88 KiB, Downloads: 664

SalomeMeca 2021
Ubuntu 20.04, 22.04

Offline

#2 2011-10-21 14:38:54

Thomas DE SOZA
Guru
From: EDF
Registered: 2007-11-23
Posts: 3,066

Re: English localization of mess file (Ver 11.0.29)

Hi,

What are these environment variables set to in a terminal ?

LANGUAGE, LC_ALL, LC_MESSAGES, LANG

TdS

Offline

#3 2011-10-21 14:47:03

JMB365
Member
Registered: 2008-01-19
Posts: 781

Re: English localization of mess file (Ver 11.0.29)

Hello TdS,

Thanks for the quick reply!  All are blank except $LANG = en_US.UTF-8.  What should I do next?  Where do I tell ASTK to set values for LANGUAGE, LC_ALL & LC_MESSAGES ?

Regards, JMB


SalomeMeca 2021
Ubuntu 20.04, 22.04

Offline

#4 2011-10-21 16:33:34

Thomas DE SOZA
Guru
From: EDF
Registered: 2007-11-23
Posts: 3,066

Re: English localization of mess file (Ver 11.0.29)

Hi,

You'll have to wait for the expert (courtois) to tell us what to do. Having LANG set as you do should have been OK.

Still there's an ugly way to do it, in debut.capy (located in $ASTER_ROOT/NEW11/catapy/commande/), change this :

   102	         LANG = SIMP(statut='f', typ='TXM',
   103	                     fr="Permet de choisir la langue utilisée pour les messages (si disponible)",
   104	                     ang="Allows to choose the language used for messages (if available)"),

to

   102	         LANG = SIMP(statut='f', typ='TXM',defaut='EN',
   103	                     fr="Permet de choisir la langue utilisée pour les messages (si disponible)",
   104	                     ang="Allows to choose the language used for messages (if available)"),

TdS

Offline

#5 2011-10-21 16:55:32

JMB365
Member
Registered: 2008-01-19
Posts: 781

Re: English localization of mess file (Ver 11.0.29)

Thomas DE SOZA wrote:

Still there's an ugly way to do it, in debut.capy (located in $ASTER_ROOT/NEW11/catapy/commande/), change ...

Hello TdS,

That change did not work.  Here is what I did:

cp /opt/aster/NEW11.0/catapy/commande/debut.capy /opt/aster/NEW11.0/catapy/commande/debut.capy.orig
nedit /opt/aster/NEW11.0/catapy/commande/debut.capy &

made the necessary change as evidenced by the output below:

diff /opt/aster/NEW11.0/catapy/commande/debut.capy /opt/aster/NEW11.0/catapy/commande/debut.capy.orig
102c102
<          LANG = SIMP(statut='f', typ='TXM', defaut='EN',
---
>          LANG = SIMP(statut='f', typ='TXM',

It may be interest to you that there is a message in the run terminal (which does no show up in the mess file) that says:

<INFO> no catalogue found for language 'en', use standard (fr) one..."

This may provide you with a clue or maybe we need the expert (courtois) to tell us what to do. smile  Thanks for trying and I am open to other suggestions from you or courtois.  I can easily test them easily since I have a removable hard drive on which to try it quite quickly.

Regards, JMB


SalomeMeca 2021
Ubuntu 20.04, 22.04

Offline

#6 2011-10-21 18:43:06

Thomas DE SOZA
Guru
From: EDF
Registered: 2007-11-23
Posts: 3,066

Re: English localization of mess file (Ver 11.0.29)

Hi,

OK it seems in fact that the translation of the messages is not packaged alongside the weekly updates.
More info will come later.

TdS

Offline