Some i18n questions

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

Some i18n questions

Postby dade2000 » December 6th, 2013, 11:57 am

Hi, I'm new to the i18n package and I have some questions that are stopping me using in a brand new project.

1. What about simple units?
Let's say I have a unit with a lot of resourcestring in it, howe I can localize those strings (using a DataModule is not possibile, I've to localize THAT unit)?

2. What about non-string properties on a form?
In a language a Label caption could be longer than in another language. I should "localize" also the width property or the left property. Is it possibile using i18n?

Thank you
dade2000
Member
Member
 
Posts: 1
Joined: December 6th, 2013, 11:53 am

Re: Some i18n questions

Postby Kambiz » December 8th, 2013, 9:37 pm

Hi,

1. The i18n package has no built-in support for stand-alone units. However, you can add the strings manually using translator program and use the package to translate them.

2. The package only translates properties of type string. It is the best practice to use algin and anchor properties to let the controls resize besed on their content.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: Bing [Bot] and 35 guests

cron