Atom topic feed | site map | contact | login | Protection des données personnelles | Powered by FluxBB | réalisation artaban
You are not logged in.
Hello,
In reference to the message posted here: http://www.code-aster.org/forum2/viewtopic.php?id=15838 and I quote:
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
SalomeMeca 2021
Ubuntu 20.04, 22.04
Offline
Hi,
What are these environment variables set to in a terminal ?
LANGUAGE, LC_ALL, LC_MESSAGES, LANG
TdS
Offline
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
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
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. 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
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