cazzani
Posts: 11
|
Posted: 01/01/2006, 9:48 AM |
|
Nice feature of CCS 3 is the support of internationalization.
Even if you are developing English-only projects, you may find useful to turn internationalization on to use it as a tool to speed up caption setting in all grids and forms.
Here we often have tables and field names that are not very user friendly. For instance, a table may be called "tbl_Employees" and the relevant fields like "fld_Name", "fld_Age" and so on.
All CCS's builders automatically use the field names as caption of any column. This means that we need to manually adjust the caption of every column in order to display useful captions as "Name", "Age" and so on, a very time consuming task when there are a lot of tables and fields in a project.
If you turn the International feature on, CCS's builder do a different thing. Rather than putting the field name as a caption, they put a reference to a 'language resource' having the same name as the fieldname.
This means that you can quicky 'translate' your field name giving the useful caption you need (in the above example: "fld_Name" translates into "Name" and so on) simply using the translation resource.
The key advantage of this is that you can define once the captions you like for your project and they are all automatically set in every single grid, form and search form in the project.
Hope this helps
Stefano,
Milano, Italy
|
|
|
DonB
|
Posted: 01/01/2006, 3:53 PM |
|
Pretty cool. Excellent job of 'thinking outside the box'.
--
DonB
http://www.gotodon.com/ccbth
"cazzani" <cazzani@forum.codecharge> wrote in message
news:2543b81601c9ada@news.codecharge.com...
> Nice feature of CCS 3 is the support of internationalization.
>
> Even if you are developing English-only projects, you may find useful to
turn
> internationalization on to use it as a tool to speed up caption setting in
all
> grids and forms.
>
> Here we often have tables and field names that are not very user friendly.
For
> instance, a table may be called "tbl_Employees" and the relevant fields
like
> "fld_Name", "fld_Age" and so on.
>
> All CCS's builders automatically use the field names as caption of any
column.
> This means that we need to manually adjust the caption of every column in
order
> to display useful captions as "Name", "Age" and so on, a very time
consuming
> task when there are a lot of tables and fields in a project.
>
> If you turn the International feature on, CCS's builder do a different
thing.
> Rather than putting the field name as a caption, they put a reference to a
> 'language resource' having the same name as the fieldname.
> This means that you can quicky 'translate' your field name giving the
useful
> caption you need (in the above example: "fld_Name" translates into "Name"
and
> so on) simply using the translation resource.
>
> The key advantage of this is that you can define once the captions you
like for
> your project and they are all automatically set in every single grid, form
and
> search form in the project.
>
> Hope this helps
> Stefano,
> Milano, Italy
>
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
Walter Kempees
|
Posted: 01/02/2006, 11:44 AM |
|
Brilliant in it's simplicity!
"cazzani" <cazzani@forum.codecharge> schreef in bericht
news:2543b81601c9ada@news.codecharge.com...
> Nice feature of CCS 3 is the support of internationalization.
>
> Even if you are developing English-only projects, you may find useful to
> turn
> internationalization on to use it as a tool to speed up caption setting in
> all
> grids and forms.
>
> Here we often have tables and field names that are not very user friendly.
> For
> instance, a table may be called "tbl_Employees" and the relevant fields
> like
> "fld_Name", "fld_Age" and so on.
>
> All CCS's builders automatically use the field names as caption of any
> column.
> This means that we need to manually adjust the caption of every column in
> order
> to display useful captions as "Name", "Age" and so on, a very time
> consuming
> task when there are a lot of tables and fields in a project.
>
> If you turn the International feature on, CCS's builder do a different
> thing.
> Rather than putting the field name as a caption, they put a reference to a
> 'language resource' having the same name as the fieldname.
> This means that you can quicky 'translate' your field name giving the
> useful
> caption you need (in the above example: "fld_Name" translates into "Name"
> and
> so on) simply using the translation resource.
>
> The key advantage of this is that you can define once the captions you
> like for
> your project and they are all automatically set in every single grid, form
> and
> search form in the project.
>
> Hope this helps
> Stefano,
> Milano, Italy
>
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
Walter Kempees
|
Posted: 01/15/2006, 4:05 AM |
|
And to add to this brilliant littlew tip:
In Design Mode right-clicking any res:label will give you the ability to do
the translation on the spot.
Even correction of previous entererd translations.
Great!
"Walter Kempees" <kempe819@planet.nl> schreef in bericht
news:dpbvrq$e3$1@news.codecharge.com...
> Brilliant in it's simplicity!
>
> "cazzani" <cazzani@forum.codecharge> schreef in bericht
>news:2543b81601c9ada@news.codecharge.com...
>> Nice feature of CCS 3 is the support of internationalization.
>>
>> Even if you are developing English-only projects, you may find useful to
>> turn
>> internationalization on to use it as a tool to speed up caption setting
>> in all
>> grids and forms.
>>
>> Here we often have tables and field names that are not very user
>> friendly. For
>> instance, a table may be called "tbl_Employees" and the relevant fields
>> like
>> "fld_Name", "fld_Age" and so on.
>>
>> All CCS's builders automatically use the field names as caption of any
>> column.
>> This means that we need to manually adjust the caption of every column in
>> order
>> to display useful captions as "Name", "Age" and so on, a very time
>> consuming
>> task when there are a lot of tables and fields in a project.
>>
>> If you turn the International feature on, CCS's builder do a different
>> thing.
>> Rather than putting the field name as a caption, they put a reference to
>> a
>> 'language resource' having the same name as the fieldname.
>> This means that you can quicky 'translate' your field name giving the
>> useful
>> caption you need (in the above example: "fld_Name" translates into "Name"
>> and
>> so on) simply using the translation resource.
>>
>> The key advantage of this is that you can define once the captions you
>> like for
>> your project and they are all automatically set in every single grid,
>> form and
>> search form in the project.
>>
>> Hope this helps
>> Stefano,
>> Milano, Italy
>>
>>
>> ---------------------------------------
>> Sent from YesSoftware forum
>> http://forums.codecharge.com/
>>
>
>
|
|
|
|