Christian Marillat a écrit :
> Peggy Kutyla <peggy.kutyla@???> writes:
>
>> Christian Marillat a écrit :
>
> [...]
>
>>>> Pourtant les fichiers de traduction existent dans :
>>>> /usr/lib/blender/.blender/locale/
>>> Normalement les fichiers doivent ce trouver dans
>>> /usr/lib/blender/locale/fr
>> Ça ne marche ni dans /usr/lib/blender/locale/fr ni dans
>> /usr/lib/blender/locale/fr/LC_MESSAGES ni dans
>> /usr/share/locale/fr/LC_MESSAGES/
>
> Tu peux essayer de faire un strace pour voir ou il cherche les fichiers .mo
>
> strace -fo log blender
le plus évident /usr/share/locale/fr_FR/LC_MESSAGES/ ne marche pas non plus
extraits les plus intéressant (tout ce qui contient locale):
19025 open("/usr/share/locale/locale-archive", O_RDONLY|O_LARGEFILE) =
-1 ENOENT (No such file or directory)
19025 brk(0) = 0x80f0000
19025 brk(0x80f1000) = 0x80f1000
19025 brk(0x80f2000) = 0x80f2000
19025 open("/usr/share/locale/locale.alias", O_RDONLY) = 3
19025 fstat64(3, {st_mode=S_IFREG|0644, st_size=2586, ...}) = 0
19025 open("/usr/share/locale/fr_FR/LC_IDENTIFICATION", O_RDONLY) = 3
19025 fstat64(3, {st_mode=S_IFREG|0644, st_size=360, ...}) = 0
19025 mmap2(NULL, 360, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f0f000
19025 close(3) = 0
19025 open("/usr/share/locale/fr_FR/LC_MEASUREMENT", O_RDONLY) = 3
19025 fstat64(3, {st_mode=S_IFREG|0644, st_size=29, ...}) = 0
19025 mmap2(NULL, 29, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f0e000
19025 close(3) = 0
19025 open("/usr/share/locale/fr_FR/LC_TELEPHONE", O_RDONLY) = 3
19025 fstat64(3, {st_mode=S_IFREG|0644, st_size=62, ...}) = 0
19025 mmap2(NULL, 62, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f0d000
19025 close(3) = 0
19025 open("/usr/share/locale/fr_FR/LC_ADDRESS", O_RDONLY) = 3
19025 fstat64(3, {st_mode=S_IFREG|0644, st_size=133, ...}) = 0
19025 mmap2(NULL, 133, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f0c000
19025 close(3) = 0
19025 open("/usr/share/locale/fr_FR/LC_NAME", O_RDONLY) = 3
19025 fstat64(3, {st_mode=S_IFREG|0644, st_size=68, ...}) = 0
19025 mmap2(NULL, 68, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f0b000
19025 close(3) = 0
19025 open("/usr/share/locale/fr_FR/LC_PAPER", O_RDONLY) = 3
19025 fstat64(3, {st_mode=S_IFREG|0644, st_size=40, ...}) = 0
19025 mmap2(NULL, 40, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f0a000
19025 close(3) = 0
19025 open("/usr/share/locale/fr_FR/LC_MESSAGES", O_RDONLY) = 3
19025 fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
19025 close(3) = 0
19025 open("/usr/share/locale/fr_FR/LC_MESSAGES/SYS_LC_MESSAGES",
O_RDONLY) = 3
19025 fstat64(3, {st_mode=S_IFREG|0644, st_size=60, ...}) = 0
19025 mmap2(NULL, 60, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f09000
19025 close(3) = 0
19025 open("/usr/share/locale/fr_FR/LC_MONETARY", O_RDONLY) = 3
19025 fstat64(3, {st_mode=S_IFREG|0644, st_size=292, ...}) = 0
19025 mmap2(NULL, 292, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f08000
19025 close(3) = 0
19025 open("/usr/share/locale/fr_FR/LC_COLLATE", O_RDONLY) = 3
19025 fstat64(3, {st_mode=S_IFREG|0644, st_size=22592, ...}) = 0
19025 mmap2(NULL, 22592, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f02000
19025 close(3) = 0
19025 open("/usr/share/locale/fr_FR/LC_TIME", O_RDONLY) = 3
19025 fstat64(3, {st_mode=S_IFREG|0644, st_size=2353, ...}) = 0
19025 mmap2(NULL, 2353, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f01000
19025 close(3) = 0
19025 open("/usr/share/locale/fr_FR/LC_NUMERIC", O_RDONLY) = 3
19025 fstat64(3, {st_mode=S_IFREG|0644, st_size=60, ...}) = 0
19025 mmap2(NULL, 60, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7dc8000
19025 close(3) = 0
19025 open("/usr/share/locale/fr_FR/LC_CTYPE", O_RDONLY) = 3
19025 fstat64(3, {st_mode=S_IFREG|0644, st_size=207972, ...}) = 0
19025 mmap2(NULL, 207972, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7d95000
19026 open("/usr/share/locale/locale-archive", O_RDONLY|O_LARGEFILE) =
-1 ENOENT (No such file or directory)
19026 open("/usr/share/locale/locale.alias", O_RDONLY) = 4
1
19026 open("/usr/share/locale/fr_FR/LC_CTYPE", O_RDONLY) = 4
19026 open("/usr/X11R6/lib/X11/locale/locale.alias",
O_RDONLY|O_LARGEFILE) = 4
19026 read(4, "#\t$TOG: locale.alias /main/33 19"..., 4096) = 4096
19026 open("/usr/X11R6/lib/X11/locale/locale.dir", O_RDONLY|O_LARGEFILE) = 4
19026 read(4, "#\t$TOG: locale.dir /main/13 1998"..., 4096) = 4096
19026 open("/usr/X11R6/lib/X11/locale/C/XI18N_OBJS",
O_RDONLY|O_LARGEFILE) = 4
19026 open("/usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2", O_RDONLY) = 4
19026 open("/usr/X11R6/lib/X11/locale/locale.alias",
O_RDONLY|O_LARGEFILE) = 4
19026 read(4, "#\t$TOG: locale.alias /main/33 19"..., 4096) = 4096
19026 open("/usr/X11R6/lib/X11/locale/locale.dir", O_RDONLY|O_LARGEFILE) = 4
19026 read(4, "#\t$TOG: locale.dir /main/13 1998"..., 4096) = 4096
19026 access("/usr/X11R6/lib/X11/locale/C/XLC_LOCALE", R_OK) = 0
19026 open("/usr/X11R6/lib/X11/locale/C/XLC_LOCALE",
O_RDONLY|O_LARGEFILE) = 4
19026 stat64(".blender/locale", 0xbfd6cf6c) = -1 ENOENT (No such file or
directory)
19026 stat64("/home/peggy/.blender/locale", 0xbfd6cf6c) = -1 ENOENT (No
such file or directory)
19026 stat64("/usr/share/locale", {st_mode=S_IFDIR|0755, st_size=4096,
...}) = 0
19026 open("/usr/share/locale/en_US/LC_IDENTIFICATION", O_RDONLY) = -1
ENOENT (No such file or directory)
19026 open("/usr/share/locale/en/LC_IDENTIFICATION", O_RDONLY) = -1
ENOENT (No such file or directory)
>
> Christian
>
>
---
,,,
( °> Peggy Kutyla
( / ) Linux Registered User 32848
>||<