i18n and Russian translation

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

i18n and Russian translation

Alexey Vasyukov
Hi folks,

As promised, here are patches for Russian localization (attached). Pathes are created against current git master.

These patches enable Russian for all elements in UI including controls in Form Builder. It requires editing multiple files. So, if you consider Orbeon translation to your language, I hope my experience can be usefull - at least you can find all necessary files to edit in one patchset.

And there is one more tricky question regarding i18n. Sometimes just translation is not enough. I mean, for instance, the following situation - date in Russian should be written in format "dd/mm/year", but standard controls have now hardcoded format "mm/dd/year". For the moment in such situations we just implemented quick workaround - forked standard controls and set "oxf.fb.toolbox.group.*.uri.*.*" variables in properties-local.xml to point to these forked controls. It works but it looks ugly.

Could you advise the right way to localize controls in such situations?


Best regards,
Alexey


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

fb-form-ru.patch (61K) Download Attachment
fb-service-ru.patch (2K) Download Attachment
fb-xbl-ru.patch (19K) Download Attachment
fr-resources-ru.patch (13K) Download Attachment
resources-packaged-ru.patch (20K) Download Attachment
xforms-js-ru.patch (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: i18n and Russian translation

Erik Bruchez
Administrator
Alexey,

Excellent! We'll have a look at this.

I think that's right we still have some work to do on i18n. The format
of dates specifically can be set with the oxf.xforms.format.input.date
property, but it won't change dynamically when you change language.

-Erik

2010/12/9 Alexey Vasyukov <[hidden email]>:

> Hi folks,
> As promised, here are patches for Russian localization (attached). Pathes
> are created against current git master.
> These patches enable Russian for all elements in UI including controls in
> Form Builder. It requires editing multiple files. So, if you consider Orbeon
> translation to your language, I hope my experience can be usefull - at least
> you can find all necessary files to edit in one patchset.
> And there is one more tricky question regarding i18n. Sometimes just
> translation is not enough. I mean, for instance, the following situation -
> date in Russian should be written in format "dd/mm/year", but standard
> controls have now hardcoded format "mm/dd/year". For the moment in such
> situations we just implemented quick workaround - forked standard controls
> and set "oxf.fb.toolbox.group.*.uri.*.*" variables in properties-local.xml
> to point to these forked controls. It works but it looks ugly.
> Could you advise the right way to localize controls in such situations?
>
> Best regards,
> Alexey
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: i18n and Russian translation

Erik Bruchez
Administrator
Alexey,

At last we integrated your patch:


A couple of things:

* FR resources: <upload-in-progress> is new since you provided the patch
* FB resources: it seems that not all is translated (starting <dialog-itemsets>)

Thanks!

-Erik

On Fri, Dec 10, 2010 at 5:46 PM, Erik Bruchez <[hidden email]> wrote:
Alexey,

Excellent! We'll have a look at this.

I think that's right we still have some work to do on i18n. The format
of dates specifically can be set with the oxf.xforms.format.input.date
property, but it won't change dynamically when you change language.

-Erik

2010/12/9 Alexey Vasyukov <[hidden email]>:
> Hi folks,
> As promised, here are patches for Russian localization (attached). Pathes
> are created against current git master.
> These patches enable Russian for all elements in UI including controls in
> Form Builder. It requires editing multiple files. So, if you consider Orbeon
> translation to your language, I hope my experience can be usefull - at least
> you can find all necessary files to edit in one patchset.
> And there is one more tricky question regarding i18n. Sometimes just
> translation is not enough. I mean, for instance, the following situation -
> date in Russian should be written in format "dd/mm/year", but standard
> controls have now hardcoded format "mm/dd/year". For the moment in such
> situations we just implemented quick workaround - forked standard controls
> and set "oxf.fb.toolbox.group.*.uri.*.*" variables in properties-local.xml
> to point to these forked controls. It works but it looks ugly.
> Could you advise the right way to localize controls in such situations?
>
> Best regards,
> Alexey
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws