Thanks a lot, now is working. -----Messaggio originale----- From: Sergey I. Sharybin Sent: Sunday, October 09, 2011 12:38 PM To: bf-committers@blender.org Subject: Re: [Bf-committers] Arabic translation support in the UI script
Nope, it's incorrect. First install python and compile blender. Then: (1) blender --background --factory-startup --python update_msg.py (2) python update_pot.py (3) python update_po.py <language you want to update> (4) python clean_po.py <language you want to clean> (5) python merge_po.py <destination file> <source file> ValterVB wrote: > I use these commands: > > D:\BlenderSVN\install\blender25-win64-vc\blender --background > --factory-startup > --python update_msg.py > D:\BlenderSVN\install\blender25-win64-vc\blender --background > --factory-startup > --python update_pot.py > D:\BlenderSVN\install\blender25-win64-vc\blender --background > --factory-startup > --python update_po.py > > Isn't correct? > > Thanks > -----Messaggio originale----- > From: Sergey I. Sharybin > Sent: Sunday, October 09, 2011 12:03 PM > To: bf-committers@blender.org > Subject: Re: [Bf-committers] Arabic translation support in the UI script > > Hi, > > Looks like you're trying to run update_po script in way like this: > `blender --python update_po.py it`. It's wrong way. Only update_msg,py > is supposed to be run in blender, all the rest script are supposed to be > run using pyton in way like `python update_po.py` > > ValterVB wrote: >> I have some problem to update the po file. >> I have compiled Blender wih SCONS on Win 7 64 bit, I have changed >> update_pot.py for the problem with GETTEXT. >> Some Solution? >> >> In step 1 I have the following error: >> --- >> Written 9165 messages to: 'D:\\BlenderSVN\\blender\\po\\messages.txt' >> Error: Not freed memory blocks: 1 >> RNA_enum_items_add len: 320 00000000034F5A08 >> >> Blender quit >> --- >> In step 2 No error >> >> In step 3 I have the following Message: >> --- >> *** Running 'D:\\BlenderSVN\\blender\\po\\update_po.py' *** >> >> msgmerge --update --backup=none --lang=it D:\BlenderSVN\blender\po\it.po >> D:\BlenderSVN\blender\po\blender.pot >> ................................................................................ >> ................................................................................ >> ................................................................................ >> ................................................................................ >> ................................................................................ >> ................................................................................ >> ................................................................................ >> ................................................................................ >> ................................................................................ >> ................................................................................ >> ................................................................................ >> ...................................................... done. >> read blend: D:\BlenderSVN\blender\po\it >> Unable to open "D:\BlenderSVN\blender\po\it": Unknown error reading file. >> --- > -- With best regards, Sergey I. Sharybin _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers