Page 1 of 1

Some i18n questions

PostPosted: December 6th, 2013, 11:57 am
by dade2000
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

Re: Some i18n questions

PostPosted: December 8th, 2013, 9:37 pm
by Kambiz
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.