[Bf-translations-dev] [Bf-translations-svn] SVN commit: /data/svn/bf-translations [175] branches/fa/fa.po:

Amin Babaiepanah leomoon at gmail.com
Tue Nov 15 03:53:52 CET 2011


The sticking part is like this. Arabic and Farsi they are complex scripts.
That means depending on what character is to the right of the current
character, it will stick to it. That's why someone in the Arabic
translation team, wrote the python file called "arabic_to_utf.py". That
file will check every character (during build?) and it will make characters
stick depending on the formula inside the python file. I modified that file
and added the 4 extra characters that exists in Farsi to that file and
saved it with the name of "persian_to_utf.py" inside the "branches\fa".

When I change the language to Arabic in the latest compile that I got from
the address below, characters display right and they stick accordingly. But
for Farsi, the characters display right but they won't stick:
http://graphicall.org/444

I think that build was missing the "persian_to_utf.py" file but I'm not
sure. The interesting part is that it works perfect in the language
selection menu but everywhere else it shows all the characters separated...

I've made an example below to show what I mean:
[image: problem.jpg]


Best regards,
Amin Babaeipanah
---------------------------------------------
LeoMoon Studios
http://LeoMoon.com
---------------------------------------------
http://ArtisGeek.com
http://IMDB.to/AMINB
http://LoveIsComix.com
http://PersianRead.com
---------------------------------------------



On Mon, Nov 14, 2011 at 6:01 PM, Dalai Felinto <dfelinto at gmail.com> wrote:

> Be aware that you may not need to fix them by hand (the "" thing). The
> " is in the right place (the last right char of the string) but the
> problem there is the presence of the character \U202b right after the
> first/left "
>
> >>And the Farsi characters show properly but they don't stick.
> What do you mean by 'stick'?
> --
> Dalai
>
> 2011/11/15 Amin Babaiepanah <leomoon at gmail.com>:
> > Hello,
> > I got a build from:
> > http://graphicall.org/444
> > And the Farsi characters show properly but they don't stick. Is it
> because
> > of the python script? I already modified the Arabic version of the python
> > file and saved it as "persian_to_utf.py" to have Farsi characters. Can
> > someone help me with this problem?
> >
> > Best regards,
> > Amin Babaeipanah
> > ---------------------------------------------
> > LeoMoon Studios
> > http://LeoMoon.com
> > ---------------------------------------------
> > http://ArtisGeek.com
> > http://IMDB.to/AMINB
> > http://LoveIsComix.com
> > http://PersianRead.com
> > ---------------------------------------------
> >
> >
> > On Wed, Nov 9, 2011 at 11:42 AM, Bastien Montagne <montagne29 at wanadoo.fr
> >
> > wrote:
> >>
> >> Hey Amin,
> >>
> >> i18n tools are gettext ones (xgettext, msgmerge [to update an existing
> po
> >> from an new pot], and msgfmt [to compile a po into a mo]), but also the
> py
> >> scripts under /trunk/po/tools, that I use to manage and keep up to date
> >> Blender’s bf-translations.
> >>
> >> As for the origin of the problem, unfortunately I have no clue… I never
> >> worked with rtl languages. :/
> >>
> >> But it’s trully a PITA if you have to fix this by hand. :( Maybe you
> could
> >> try to find whether other poeple translating other apps run into similar
> >> problem?
> >>
> >> Best regards,
> >> Bastien
> >>
> >> Le 09/11/2011 19:20, Amin Babaiepanah a écrit :
> >>
> >> Hello,
> >> Sorry but what are i18n tools?
> >> I'm fixing them by hand right now.
> >>
> >> Do you know why it only happened to some of the translations? I'm just
> >> using PoEdit with standard Persian keyboard in Windows.
> >>
> >> Best regards,
> >> Amin Babaeipanah
> >> ---------------------------------------------
> >> LeoMoon Studios
> >> http://LeoMoon.com
> >> ---------------------------------------------
> >> http://ArtisGeek.com
> >> http://IMDB.to/AMINB
> >> http://LoveIsComix.com
> >> http://PersianRead.com
> >> ---------------------------------------------
> >>
> >>
> >> On Wed, Nov 9, 2011 at 1:47 AM, Bastien Montagne <montagne29 at wanadoo.fr
> >
> >> wrote:
> >>>
> >>> Hi,
> >>>
> >>> Looking at the diff, I saw ugly things like that:
> >>>
> >>>  #:
> >>>
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:324
> >>>  msgid "Browse Armature data to be linked"
> >>> -msgstr "‫گزینش آرماتور برای لینک کردن"
> >>> +msgstr "‫گزینش آرمیچر برای لینک کردن"
> >>>
> >>> You’ll note that the text is not between the "… I suspect a rtl/ltr
> >>> problem, did you checked these were actually treated as expected by the
> >>> i18n tools?
> >>>
> >>> Best regards,
> >>> Bastien
> >>>
> >>> Le 09/11/2011 10:26, bf-translations at blender.org a écrit :
> >>> > Revision: 175
> >>> >
> >>> >
> http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-translations&revision=175
> >>> > Author:   leomoon
> >>> > Date:     2011-11-09 09:26:24 +0000 (Wed, 09 Nov 2011)
> >>> > Log Message:
> >>> > -----------
> >>> >
> >>> >
> >>> > Modified Paths:
> >>> > --------------
> >>> >      branches/fa/fa.po
> >>> >
> >>> > Modified: branches/fa/fa.po
> >>> > ===================================================================
> >>> > --- branches/fa/fa.po 2011-11-09 07:40:12 UTC (rev 174)
> >>> > +++ branches/fa/fa.po 2011-11-09 09:26:24 UTC (rev 175)
> >>> > @@ -9,7 +9,7 @@
> >>> >   msgstr ""
> >>> >   "Project-Id-Version: Blender\n"
> >>> >   "Report-Msgid-Bugs-To: \n"
> >>> > -"POT-Creation-Date: 2011-11-07 22:27+0100\n"
> >>> > +"POT-Creation-Date: 2011-10-31 18:21+0100\n"
> >>> >   "PO-Revision-Date: \n"
> >>> >   "Last-Translator: Amin Babaeipanah<amin84b at gmail.com>\n"
> >>> >   "Language-Team: LeoMoon Studios<blender at leomoon.com>\n"
> >>> > @@ -92,7 +92,7 @@
> >>> >
> >>> >   #:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:324
> >>> >   msgid "Browse Armature data to be linked"
> >>> > -msgstr "‫گزینش آرماتور برای لینک کردن"
> >>> > +msgstr "‫گزینش آرمیچر برای لینک کردن"
> >>> >
> >>> >   #:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:325
> >>> >   msgid "Browse Action to be linked"
> >>> > @@ -146,12 +146,8 @@
> >>> >   msgstr "باز کردن"
> >>> >
> >>> >   #:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:471
> >>> > -msgid ""
> >>> > -"Unlink datablock. Shift + Click to set users to zero, data will
> then
> >>> > not be "
> >>> > -"saved"
> >>> > -msgstr ""
> >>> > -"‫بلوک داده را جدا کن. شیفت + کلیک برای تنظیم کردن به صفر. اطلاعات
> >>> > ذخیره "
> >>> > -"نخواهد شد"
> >>> > +msgid "Unlink datablock. Shift + Click to set users to zero, data
> will
> >>> > then not be saved"
> >>> > +msgstr "‫بلوک داده را جدا کن. شیفت + کلیک برای تنظیم کردن به صفر.
> >>> > اطلاعات ذخیره نخواهد شد"
> >>> >
> >>> >   #:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:728
> >>> >   msgid "Make Real"
> >>> > @@ -159,7 +155,7 @@
> >>> >
> >>> >   #:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:729
> >>> >   msgid "Convert virtual modifier to a real modifier"
> >>> > -msgstr ""
> >>> > +msgstr "تبدیل اصلاحگر مجازی به یک اصلاح واقعی"
> >>> >
> >>> >   #:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:766
> >>> >   msgid "Apply modifier to editing cage during Editmode"
> >>> > @@ -171,7 +167,7 @@
> >>> >
> >>> >   #:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:837
> >>> >   #: bpy.types.VIEW3D_MT_object_apply bpy.types.VIEW3D_MT_pose_apply
> >>> > -#: release/scripts/startup/bl_ui/space_view3d_toolbar.py:1163
> >>> > +#: release/scripts/startup/bl_ui/space_view3d_toolbar.py:1174
> >>> >   msgid "Apply"
> >>> >   msgstr "اعمال"
> >>> >
> >>> > @@ -184,8 +180,8 @@
> >>> >   #: bpy.types.EXPORT_SCENE_OT_obj.path_mode,
> >>> >   #: bpy.types.EXPORT_SCENE_OT_x3d.path_mode,
> >>> > bpy.types.IMAGE_OT_save_as.copy
> >>> >   #: bpy.types.SEQUENCER_OT_copy bpy.types.TEXT_OT_copy
> >>> > -#: release/scripts/startup/bl_ui/space_view3d_toolbar.py:291
> >>> > -#: release/scripts/startup/bl_ui/space_view3d_toolbar.py:420
> >>> > +#: release/scripts/startup/bl_ui/space_view3d_toolbar.py:285
> >>> > +#: release/scripts/startup/bl_ui/space_view3d_toolbar.py:414
> >>> >   msgid "Copy"
> >>> >   msgstr "کپی"
> >>> >
> >>> > @@ -195,7 +191,6 @@
> >>> >   msgstr "پروکسی حفاظت شده"
> >>> >
> >>> >   #:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:1208
> >>> > -#:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/space_node/node_header.c:243
> >>> >   #: bpy.types.DriverTarget.id_type, 'TEXTURE'
> >>> > bpy.types.EffectorWeights.texture
> >>> >   #: bpy.types.FieldSettings.texture bpy.types.FieldSettings.type,
> >>> >   #: bpy.types.KeyingSetPath.id_type,
> >>> > bpy.types.MaterialHalo.use_texture
> >>> > @@ -215,9 +210,11 @@
> >>> >   #:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/space_buttons/buttons_header.c:139
> >>> >   #: bpy.types.DriverTarget.id_type, 'MATERIAL'
> >>> > bpy.types.KeyingSetPath.id_type,
> >>> >   #: bpy.types.MaterialRaytraceMirror.fade_to, 'FADE_TO_MATERIAL'
> >>> > -#: bpy.types.MaterialSlot.material
> bpy.types.SpaceProperties.context,
> >>> > +#: bpy.types.MaterialSlot.material
> >>> > bpy.types.SpaceNodeEditor.tree_type,
> >>> > +#: bpy.types.SpaceProperties.context,
> >>> >   #: bpy.types.SpaceProperties.texture_context,
> >>> >   #: bpy.types.MESH_OT_select_similar.type,
> >>> > bpy.types.MESH_OT_sort_faces.type,
> >>> > +#: bpy.types.NODE_OT_new_node_tree.type,
> >>> >   #: bpy.types.OBJECT_OT_select_linked.type,
> >>> >   #: release/scripts/startup/bl_ui/properties_render.py:103
> >>> >   #: release/scripts/startup/bl_ui/space_userpref.py:354
> >>> > @@ -238,7 +235,6 @@
> >>> >   #: bpy.types.DriverTarget.id_type, 'WORLD'
> >>> > bpy.types.KeyingSetPath.id_type,
> >>> >   #: bpy.types.RenderSettings.bake_normal_space,
> >>> >   #: bpy.types.UserPreferencesEdit.object_align,
> >>> > -#: bpy.types.SpaceNodeEditor.shader_type,
> >>> >   #: bpy.types.SpaceNodeEditor.texture_type,
> >>> > bpy.types.SpaceProperties.context,
> >>> >   #: bpy.types.WORLD_PT_game_world bpy.types.WORLD_PT_world
> >>> >   msgid "World"
> >>> > @@ -255,7 +251,6 @@
> >>> >   #:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:1351
> >>> >   #:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/space_file/file_panels.c:147
> >>> >   #: bpy.types.AnimData.action_blend_type, 'ADD'
> >>> > -#: bpy.types.ColorMapping.blend_type,
> >>> >   #: bpy.types.LampSkySettings.sky_blend_type,
> >>> >   #: bpy.types.MaterialGameSettings.alpha_blend,
> >>> > bpy.types.MaterialHalo.add
> >>> >   #: bpy.types.NlaStrip.blend_type,
> bpy.types.ParticleBrush.puff_mode,
> >>> > @@ -269,8 +264,8 @@
> >>> >   #: bpy.types.SEQUENCER_OT_effect_strip_add.type,
> >>> > bpy.types.INFO_MT_add
> >>> >   #: bpy.types.INFO_MT_edit_curve_add
> >>> > bpy.types.LOGIC_MT_logicbricks_add
> >>> >   #: bpy.types.NLA_MT_add bpy.types.SEQUENCER_MT_add
> >>> > -#: release/scripts/startup/bl_ui/space_sequencer.py:205
> >>> > -#: release/scripts/startup/bl_ui/space_view3d_toolbar.py:327
> >>> > +#: release/scripts/startup/bl_ui/space_sequencer.py:215
> >>> > +#: release/scripts/startup/bl_ui/space_view3d_toolbar.py:321
> >>> >   msgid "Add"
> >>> >   msgstr "اضافه کردن"
> >>> >
> >>> > @@ -287,8 +282,8 @@
> >>> >   #: bpy.types.MESH_OT_delete bpy.types.NODE_OT_delete
> >>> >   #: bpy.types.OBJECT_OT_delete
> >>> > bpy.types.OUTLINER_OT_object_operation.type,
> >>> >   #: 'DELETE' bpy.types.PARTICLE_OT_delete bpy.types.TEXT_OT_delete
> >>> > -#: release/scripts/startup/bl_ui/space_view3d.py:2357
> >>> > -#: release/scripts/startup/bl_ui/space_view3d_toolbar.py:329
> >>> > +#: release/scripts/startup/bl_ui/space_view3d.py:2304
> >>> > +#: release/scripts/startup/bl_ui/space_view3d_toolbar.py:323
> >>> >   msgid "Delete"
> >>> >   msgstr "حذف"
> >>> >
> >>> > @@ -307,8 +302,7 @@
> >>> >
> >>> >   #:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:1321
> >>> >   #:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:1368
> >>> > -msgid ""
> >>> > -"Interpolation %t|Ease %x1|Cardinal %x3|Linear %x0|B-Spline
> >>> > %x2|Constant %x4"
> >>> > +msgid "Interpolation %t|Ease %x1|Cardinal %x3|Linear %x0|B-Spline
> >>> > %x2|Constant %x4"
> >>> >   msgstr ""
> >>> >
> >>> >   #:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:1322
> >>> > @@ -318,7 +312,7 @@
> >>> >
> >>> >   #:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:1357
> >>> >   msgid "Flip the color ramp"
> >>> > -msgstr ""
> >>> > +msgstr "قرینه سازی رنگ"
> >>> >
> >>> >   #:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:1621
> >>> >   msgid "Min X "
> >>> > @@ -346,7 +340,7 @@
> >>> >   #:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:1696
> >>> >   #: bpy.types.CurveMapPoint.handle_type, 'VECTOR'
> >>> >   msgid "Vector Handle"
> >>> > -msgstr ""
> >>> > +msgstr "دسته وکتور"
> >>> >
> >>> >   #:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:1675
> >>> >   #:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:1697
> >>> > @@ -378,7 +372,6 @@
> >>> >   #:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:1822
> >>> >   #:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:1824
> >>> >   #: bpy.types.KeyMap.region_type, 'TOOLS' bpy.types.Region.type,
> >>> > -#: bpy.types.CLIP_OT_tools
> >>> >   msgid "Tools"
> >>> >   msgstr "ابزار"
> >>> >
> >>> > @@ -401,31 +394,31 @@
> >>> >   msgid "Reset Black/White point and curves"
> >>> >   msgstr ""
> >>> >
> >>> > -#:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:2527
> >>> > +#:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:2519
> >>> >   msgid "Stop this job"
> >>> >   msgstr "توقف این کار"
> >>> >
> >>> > -#:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:2529
> >>> > +#:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:2521
> >>> >   msgid "Progress"
> >>> >   msgstr "پیشرفت"
> >>> >
> >>> > -#:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:2534
> >>> > +#:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:2526
> >>> >   msgid "Capture"
> >>> >   msgstr "تسخیر"
> >>> >
> >>> > -#:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:2535
> >>> > +#:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:2527
> >>> >   msgid "Stop screencast"
> >>> >   msgstr "‫توقف اسکرین کست"
> >>> >
> >>> > -#:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:2537
> >>> > +#:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:2529
> >>> >   msgid "Anim Player"
> >>> >   msgstr "‫پلیر انیمیشن"
> >>> >
> >>> > -#:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:2538
> >>> > +#:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:2530
> >>> >   msgid "Stop animation playback"
> >>> >   msgstr "توقف پخش انیمیشن"
> >>> >
> >>> > -#:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:2600
> >>> > +#:
> >>> >
> /home/i7deb64/blender-2.5-svn/__work__/blender_msgs/source/blender/editors/interface/interface_templates.c:2592
> >>> >   msgid "Click to see rest of reports in textblock: 'Recent Reports'"
> >>> >   msgstr "‫برای دیدن بقیه گزارش بلوک متن کلیک کنید: «گزارش های اخیر»"
> >>> >
> >>> > @@ -506,7 +499,6 @@
> >>> >   #: bpy.types.ObjectBase.object bpy.types.ParticleEdit.object
> >>> >   #: bpy.types.PointDensity.object
> >>> > bpy.types.RenderSettings.bake_normal_space,
> >>> >   #: bpy.types.UVProjector.object
> >>> > bpy.types.UserPreferencesEdit.material_link,
> >>> > -#: bpy.types.SpaceNodeEditor.shader_type,
> >>> >   #: bpy.types.SpaceNodeEditor.texture_type,
> >>> > bpy.types.SpaceProperties.context,
> >>> >   #: bpy.types.CONSTRAINT_OT_childof_clear_inverse.owner,
> >>> >   #: bpy.types.CONSTRAINT_OT_childof_set_inverse.owner,
> >>> > @@ -560,7 +552,6 @@
> >>> >   #: bpy.types.CONSTRAINT_OT_move_up.owner,
> >>> >
> >>> > @@ Diff output truncated at 10240 characters. @@
> >>> > _______________________________________________
> >>> > Bf-translations-svn mailing list
> >>> > Bf-translations-svn at blender.org
> >>> > http://lists.blender.org/mailman/listinfo/bf-translations-svn
> >>>
> >>> _______________________________________________
> >>> Bf-translations-dev mailing list
> >>> Bf-translations-dev at blender.org
> >>> http://lists.blender.org/mailman/listinfo/bf-translations-dev
> >>
> >>
> >
> >
> > _______________________________________________
> > Bf-translations-dev mailing list
> > Bf-translations-dev at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-translations-dev
> >
> >
> _______________________________________________
> Bf-translations-dev mailing list
> Bf-translations-dev at blender.org
> http://lists.blender.org/mailman/listinfo/bf-translations-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-translations-dev/attachments/20111114/4e6d8316/attachment.htm 


More information about the Bf-translations-dev mailing list