The Source for Java Technology Collaboration

Home » java.net Forums » Mobile & Embedded » LWUIT

Thread: I18N

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 6 - Last Post: Nov 18, 2008 6:18 AM by: shai126
me tk82c
I18N
Posted: Nov 1, 2008 4:55 PM
  Click to reply to this thread Reply

Hello Guys,
Anyone here is using lwuit to create I18N apps?

Basically I have to support Hebrew (rigth to left language) and English
(left to right) and all resources are stored in server side in a SQL
database.

How can I use I18N in lwuit?

Thanks!

tk
[att1.html]


Shai Almog
Re: I18N
Posted: Nov 1, 2008 11:28 PM   in response to: me tk82c
  Click to reply to this thread Reply

Hi,
there is information about i18n and localization in the developer
guide. Bidi is not supported at the moment so you will have to right
align manually and some components don't support right alignment.
You will need to use the system font for everything which has bidi
issues on some devices (such as Sony Ericsson), bitmap font won't work.

> Hello Guys,
>
> Anyone here is using lwuit to create I18N apps?
>
> Basically I have to support Hebrew (rigth to left language) and
> English (left to right) and all resources are stored in server side
> in a SQL database.
>
> How can I use I18N in lwuit?
>
> Thanks!
>
> tk

Shai Almog
http://lwuit.blogspot.com/

[att1.html]


me tk82c
Re: I18N
Posted: Nov 2, 2008 3:08 AM   in response to: Shai Almog
  Click to reply to this thread Reply

Hello Shai!
Do you have any idea if lwuit will support right align?

Hey man! You are from Israel, right? You have to do that! :-)

tk

On Sun, Nov 2, 2008 at 3:28 AM, Shai Almog <Shai.Almog@sun.com> wrote:

> Hi,
> there is information about i18n and localization in the developer guide.
> Bidi is not supported at the moment so you will have to right align manually
> and some components don't support right alignment.
> You will need to use the system font for everything which has bidi issues
> on some devices (such as Sony Ericsson), bitmap font won't work.
>
> Hello Guys,
> Anyone here is using lwuit to create I18N apps?
>
> Basically I have to support Hebrew (rigth to left language) and English
> (left to right) and all resources are stored in server side in a SQL
> database.
>
> How can I use I18N in lwuit?
>
> Thanks!
>
> tk
>
>
> Shai Almog
> http://lwuit.blogspot.com/
>
>


--
tk
[att1.html]


Shai Almog
Re: I18N
Posted: Nov 5, 2008 9:04 PM   in response to: me tk82c
  Click to reply to this thread Reply

Hi,
bidi is in our todo list. Right alignment is implemented for most of
the major and problematic components so it shouldn't be a problem.
The main problems in bidi are text field, bitmap fonts and some
layout managers.


> Hello Shai!
>
> Do you have any idea if lwuit will support right align?
>
> Hey man! You are from Israel, right? You have to do that! :-)
>
> tk
>
> On Sun, Nov 2, 2008 at 3:28 AM, Shai Almog <Shai.Almog@sun.com> wrote:
> Hi,
> there is information about i18n and localization in the developer
> guide. Bidi is not supported at the moment so you will have to
> right align manually and some components don't support right
> alignment.
> You will need to use the system font for everything which has bidi
> issues on some devices (such as Sony Ericsson), bitmap font won't
> work.
>
>> Hello Guys,
>>
>> Anyone here is using lwuit to create I18N apps?
>>
>> Basically I have to support Hebrew (rigth to left language) and
>> English (left to right) and all resources are stored in server
>> side in a SQL database.
>>
>> How can I use I18N in lwuit?
>>
>> Thanks!
>>
>> tk
>
> Shai Almog
> http://lwuit.blogspot.com/
>
>
>
>
> --
> tk

Shai Almog
http://lwuit.blogspot.com/

[att1.html]


me tk82c
Re: I18N
Posted: Nov 6, 2008 5:42 AM   in response to: Shai Almog
  Click to reply to this thread Reply

Great to listen you Shai.

Do you have any idea of when we will have Bidi support in lwuit?

Thanks,

tk

On Thu, Nov 6, 2008 at 2:04 AM, Shai Almog <Shai.Almog@sun.com> wrote:

> Hi,
> bidi is in our todo list. Right alignment is implemented for most of the
> major and problematic components so it shouldn't be a problem.
> The main problems in bidi are text field, bitmap fonts and some layout
> managers.
>
>
> Hello Shai!
> Do you have any idea if lwuit will support right align?
>
> Hey man! You are from Israel, right? You have to do that! :-)
>
> tk
>
> On Sun, Nov 2, 2008 at 3:28 AM, Shai Almog <Shai.Almog@sun.com> wrote:
>
>> Hi,
>> there is information about i18n and localization in the developer guide.
>> Bidi is not supported at the moment so you will have to right align manually
>> and some components don't support right alignment.
>> You will need to use the system font for everything which has bidi issues
>> on some devices (such as Sony Ericsson), bitmap font won't work.
>>
>> Hello Guys,
>> Anyone here is using lwuit to create I18N apps?
>>
>> Basically I have to support Hebrew (rigth to left language) and English
>> (left to right) and all resources are stored in server side in a SQL
>> database.
>>
>> How can I use I18N in lwuit?
>>
>> Thanks!
>>
>> tk
>>
>>
>> Shai Almog
>> http://lwuit.blogspot.com/
>>
>>
>
>
> --
> tk
>
>
> Shai Almog
> http://lwuit.blogspot.com/
>
>


--
tk
[att1.html]


Shai Almog
Re: I18N
Posted: Nov 6, 2008 9:59 PM   in response to: me tk82c
  Click to reply to this thread Reply

This is not high on our priority list, however if code is contributed
via the lwuit-incubator project we would accept it.

> Great to listen you Shai.
>
> Do you have any idea of when we will have Bidi support in lwuit?
>
> Thanks,
>
> tk
>
> On Thu, Nov 6, 2008 at 2:04 AM, Shai Almog <Shai.Almog@sun.com> wrote:
> Hi,
> bidi is in our todo list. Right alignment is implemented for most
> of the major and problematic components so it shouldn't be a problem.
> The main problems in bidi are text field, bitmap fonts and some
> layout managers.
>
>
>> Hello Shai!
>>
>> Do you have any idea if lwuit will support right align?
>>
>> Hey man! You are from Israel, right? You have to do that! :-)
>>
>> tk
>>
>> On Sun, Nov 2, 2008 at 3:28 AM, Shai Almog <Shai.Almog@sun.com>
>> wrote:
>> Hi,
>> there is information about i18n and localization in the developer
>> guide. Bidi is not supported at the moment so you will have to
>> right align manually and some components don't support right
>> alignment.
>> You will need to use the system font for everything which has bidi
>> issues on some devices (such as Sony Ericsson), bitmap font won't
>> work.
>>
>>> Hello Guys,
>>>
>>> Anyone here is using lwuit to create I18N apps?
>>>
>>> Basically I have to support Hebrew (rigth to left language)
>>> and English (left to right) and all resources are stored in
>>> server side in a SQL database.
>>>
>>> How can I use I18N in lwuit?
>>>
>>> Thanks!
>>>
>>> tk
>>
>> Shai Almog
>> http://lwuit.blogspot.com/
>>
>>
>>
>>
>> --
>> tk
>
> Shai Almog
> http://lwuit.blogspot.com/
>
>
>
>
> --
> tk

Shai Almog
http://lwuit.blogspot.com/

[att1.html]


shai126

Posts: 9
Re: I18N
Posted: Nov 18, 2008 6:17 AM   in response to: Shai Almog
  Click to reply to this thread Reply

I also need Ivrit, but not necessarily bi-di (I want to be able to show a line of hebrew, then maybe a couple of lines in english, then the next line hebrew etc. but I can live without putting both languages in the same line/label):

Is right-to-left possible already (bitmap font)? Or will I need to override several of the font classes to have the chars written right to left and everything?

Thanks




 XML java.net RSS