[sip-comm-dev] Language not listed


#1

Hi,

Sinhala (si) is not listed in pootle.
Sinhala is the main language used in Sri Lanka
(Translate toolkit appears to support it)
How to add it?

Thanks & regards,
Amila


#2

Hello Amila,

Sinhala is now available at http://translate.sip-communicator.org/si/sip_communicator/

You can start translating directly from the web portal.

There are just some things you should pay attention to:
- {0}, {1}... are parameters which will be replaced by the actual text at runtime, place them as you wish;
- you cannot use single quotes when a parameter is used in the sentence. For example, <You can't move contact {0}>, <Contact {0} doesn't exist>, or <Accept '{0}'> does not display correctly. In such cases, you need to use type quotes twice (''): <You can''t move contact {0}>, <Contact {0} doesn''t exist>, or <Accept ''{0}''>

Also, some checks are available in the "review" tab to help you polish your translations.

When you think your translation is in good shape (no need to be fully translated), just send us a note and we will commit it to our source repository so Sinhala translation will be shipped with the SIP Communicator build. If you'd like, there is also the possibility to give you some administrative rights for the Sinhala language in order to be able to commit the latest translations yourself.

Don't hesitate to ask if you have any question.

Thanks,
Martin

···

On 09/28/2010 12:16 AM, Amila Manoj Silva wrote:

Hi,

Sinhala (si) is not listed in pootle.
Sinhala is the main language used in Sri Lanka
(Translate toolkit appears to support it)
How to add it?

Thanks& regards,
Amila

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Hi Martin,

Thank you. I started translating.
I wanted to see how it looks in SC. So, after translating few(7%) things,
following instructions in documentation, I downloaded as a .po file,
converted it to .properties, added it and rebuit from source. But the text
is displayed as boxes except on title bars.(boxes on buttons,menus, etc.)
Also, I have some contacts whose names are in sinhala, they are displayed as
boxes too. So I'm sure it's not a problem with translation or conversion.
Can I know how to correct this?

Thanks and regards,
Amila

···

On Tue, Sep 28, 2010 at 6:22 AM, Martin André <mandre@dev.java.net> wrote:

Hello Amila,

Sinhala is now available at
http://translate.sip-communicator.org/si/sip_communicator/

You can start translating directly from the web portal.

There are just some things you should pay attention to:
- {0}, {1}... are parameters which will be replaced by the actual text at
runtime, place them as you wish;
- you cannot use single quotes when a parameter is used in the sentence.
For example, <You can't move contact {0}>, <Contact {0} doesn't exist>, or
<Accept '{0}'> does not display correctly. In such cases, you need to use
type quotes twice (''): <You can''t move contact {0}>, <Contact {0} doesn''t
>, or <Accept ''{0}''>

Also, some checks are available in the "review" tab to help you polish your
translations.

When you think your translation is in good shape (no need to be fully
translated), just send us a note and we will commit it to our source
repository so Sinhala translation will be shipped with the SIP Communicator
build. If you'd like, there is also the possibility to give you some
administrative rights for the Sinhala language in order to be able to commit
the latest translations yourself.

Don't hesitate to ask if you have any question.

Thanks,
Martin

On 09/28/2010 12:16 AM, Amila Manoj Silva wrote:

Hi,

Sinhala (si) is not listed in pootle.
Sinhala is the main language used in Sri Lanka
(Translate toolkit appears to support it)
How to add it?

Thanks& regards,
Amila

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

--
Amila Manoj


#4

Hey Amila,

The text is garbled on my side too, it's probably a missing font problem. You said text is displayed fine on title bar? Where can we check? Anybody has an idea what could be causing the problem?

(BTW, I've commited your WIP translation).

Cheers,
Martin

···

On 09/29/2010 01:45 AM, Amila Manoj Silva wrote:

Hi Martin,

Thank you. I started translating.
I wanted to see how it looks in SC. So, after translating few(7%) things,
following instructions in documentation, I downloaded as a .po file,
converted it to .properties, added it and rebuit from source. But the text
is displayed as boxes except on title bars.(boxes on buttons,menus, etc.)
Also, I have some contacts whose names are in sinhala, they are displayed as
boxes too. So I'm sure it's not a problem with translation or conversion.
Can I know how to correct this?

Thanks and regards,
Amila

On Tue, Sep 28, 2010 at 6:22 AM, Martin Andr�<mandre@dev.java.net> wrote:

Hello Amila,

Sinhala is now available at
http://translate.sip-communicator.org/si/sip_communicator/

You can start translating directly from the web portal.

There are just some things you should pay attention to:
- {0}, {1}... are parameters which will be replaced by the actual text at
runtime, place them as you wish;
- you cannot use single quotes when a parameter is used in the sentence.
For example,<You can't move contact {0}>,<Contact {0} doesn't exist>, or
<Accept '{0}'> does not display correctly. In such cases, you need to use
type quotes twice (''):<You can''t move contact {0}>,<Contact {0} doesn''t
>, or<Accept ''{0}''>

Also, some checks are available in the "review" tab to help you polish your
translations.

When you think your translation is in good shape (no need to be fully
translated), just send us a note and we will commit it to our source
repository so Sinhala translation will be shipped with the SIP Communicator
build. If you'd like, there is also the possibility to give you some
administrative rights for the Sinhala language in order to be able to commit
the latest translations yourself.

Don't hesitate to ask if you have any question.

Thanks,
Martin

On 09/28/2010 12:16 AM, Amila Manoj Silva wrote:

Hi,

Sinhala (si) is not listed in pootle.
Sinhala is the main language used in Sri Lanka
(Translate toolkit appears to support it)
How to add it?

Thanks& regards,
Amila

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#5

Hi,

Yes, text is displayed on title bar correctly without any modification to
the code. You can see it if you goto "Add Contact" or "Create Group" dialog
boxes.
I've been experimenting a little. Yes you are right, it's a problem related
to fonts.

To verify that, I added the following line to FileMenu.java (in the package
net.java.sip.communicator.impl.gui.main.menus)
addContactItem.setFont(new java.awt.Font("Iskoola Pota", 0, 14));
and this line to CreateGroupPanel.java (in the package
net.java.sip.communicator.impl.gui.main.contactlist.addgroup)
infoTitleLabel.setFont(new java.awt.Font("Iskoola Pota", 0, 24));

It worked! The text is displayed correctly.
Here, Iskoola Pota is the Sinhala font in windows (shipped with vista, 7)
In linux, the font name shoud be FMBindumathi, if I remember correctly. I
couldn't test it in linux yet. I'll probably be able to try it this weekend
(in ubuntu)

Anyway it seems to introduce some complications, *is there some place to
change the global font?*
Even so, it might be necessary to check the platform before setting the
font. WDYT?
wasn't there an issue like this before with any other language?

Thanks & regards,
Amila

···

On Thu, Sep 30, 2010 at 8:54 AM, Martin André <mandre@dev.java.net> wrote:

Hey Amila,

The text is garbled on my side too, it's probably a missing font problem.
You said text is displayed fine on title bar? Where can we check? Anybody
has an idea what could be causing the problem?

(BTW, I've commited your WIP translation).

Cheers,
Martin

On 09/29/2010 01:45 AM, Amila Manoj Silva wrote:

Hi Martin,

Thank you. I started translating.
I wanted to see how it looks in SC. So, after translating few(7%) things,
following instructions in documentation, I downloaded as a .po file,
converted it to .properties, added it and rebuit from source. But the text
is displayed as boxes except on title bars.(boxes on buttons,menus, etc.)
Also, I have some contacts whose names are in sinhala, they are displayed
as
boxes too. So I'm sure it's not a problem with translation or conversion.
Can I know how to correct this?

Thanks and regards,
Amila

On Tue, Sep 28, 2010 at 6:22 AM, Martin André<mandre@dev.java.net> >> wrote:

Hello Amila,

Sinhala is now available at
http://translate.sip-communicator.org/si/sip_communicator/

You can start translating directly from the web portal.

There are just some things you should pay attention to:
- {0}, {1}... are parameters which will be replaced by the actual text at
runtime, place them as you wish;
- you cannot use single quotes when a parameter is used in the sentence.
For example,<You can't move contact {0}>,<Contact {0} doesn't exist>, or
<Accept '{0}'> does not display correctly. In such cases, you need to
use
type quotes twice (''):<You can''t move contact {0}>,<Contact {0}
doesn''t
>, or<Accept ''{0}''>

Also, some checks are available in the "review" tab to help you polish
your
translations.

When you think your translation is in good shape (no need to be fully
translated), just send us a note and we will commit it to our source
repository so Sinhala translation will be shipped with the SIP
Communicator
build. If you'd like, there is also the possibility to give you some
administrative rights for the Sinhala language in order to be able to
commit
the latest translations yourself.

Don't hesitate to ask if you have any question.

Thanks,
Martin

On 09/28/2010 12:16 AM, Amila Manoj Silva wrote:

Hi,

Sinhala (si) is not listed in pootle.
Sinhala is the main language used in Sri Lanka
(Translate toolkit appears to support it)
How to add it?

Thanks& regards,
Amila

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

--
Amila Manoj