CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 How can we add new locale in CCS 3 other than included list?

Print topic Send  topic

Author Message
infobih

Posts: 58
Posted: 05/01/2006, 7:17 AM

I have need to add new locale for CCS 3 project, but it is not on the listed countries in CCS when you choosing translations and locales

It is possible?

Thanks
View profile  Send private message
Rene S
Posted: 05/01/2006, 8:54 AM

Hi,

One way would be (I think) is to choose a locale you don't need and then edit it to the language of your chioce.

Rene
infobih1
Posted: 05/02/2006, 1:00 AM

Thank you,

but i have tried. this is not possible because two letter language country code for example for english is EN, en

I dont know how to change that if I will go use one of unneeded languages.

It remain two letters code original by CCS
Rene S
Posted: 05/02/2006, 3:03 AM

Hi,

It is probably not neccesary to change the country code. In your site just keep in mind that the two letters for example NL (netherlands) for your site mean a different language. As long as the translations are correct, nobody will notice. (I think...)

Rene
infobih

Posts: 58
Posted: 05/02/2006, 4:29 AM

Rene you are right, but did you knew that browser has capability to accept automatically two letters locale code, and in this example it should be NL Netherlands but not your custom translation made.

Anybody dealing with this already?
View profile  Send private message
WKempees
Posted: 05/02/2006, 4:36 AM

Yes.
Rene's advise is valid, and the way to go.
Pick a translation you wouldnot use normaly, change it to your text.
In CCS "set" the locale to your choice.
In rene's example nl-BE would indeed differ from nl-NL
You set your locale to nl-BE and it will use that.



"infobih" <infobih@forum.codecharge> schreef in bericht
news:2445742ac4d325@news.codecharge.com...
> Rene you are right, but did you knew that browser has capability to accept
> automatically two letters locale code, and in this example it should be NL
> Netherlands but not your custom translation made.
>
> Anybody dealing with this already?
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

WKempees
Posted: 05/02/2006, 4:40 AM

Also , with regards to your remark that the Browser is capable off
recognizing "nl".
That is true but your handmade translation would then never be used, so
setting your "locale" to the desired value is
your path.
In practice we would supply the user with a Dutch (red-white-blue) flag and
a belgian flag.
To make matters more complicated we have to deal with:
nl-NL, nl-BE, fr-FR, fr-BE as the belgians are divided in a french and
vlamish (dutch like) community, (see Canada)


"infobih" <infobih@forum.codecharge> schreef in bericht
news:2445742ac4d325@news.codecharge.com...
> Rene you are right, but did you knew that browser has capability to accept
> automatically two letters locale code, and in this example it should be NL
> Netherlands but not your custom translation made.
>
> Anybody dealing with this already?
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

feha


Posts: 712
Posted: 05/03/2006, 2:51 AM

Hi
I have not tried my self but i suppose you can modify this file

C:\Program Files\CodeChargeStudio3\Components\Cultures

:-)
_________________
Regards
feha

www.vision.to
feedpixel.com
View profile  Send private message
feha


Posts: 712
Posted: 05/03/2006, 2:52 AM

  
  <CultureData language="English" locale="vi-VN" fullName="Vietnamese" dayShortNames="cn;hai;ba;tư;năm;sáu;bảy" dayLongNames="chủ nhật;thứ hai;thứ ba;thứ tư;thứ năm;thứ sáu;thứ bảy" monthShortNames="th1;th2;th3;th4;th5;th6;th7;th8;th9;th10;th11;th12" monthLongNames="tháng một;tháng hai;tháng ba;tháng tư;tháng năm;tháng sáu;tháng bảy;tháng tám;tháng chín;tháng mười;tháng mười một;tháng mười hai" FirstWeekDay="Monday" LCID="1066">  
    <DatetimePatterns longTime="h:nn:ss tt" shortTime="h:nn tt" fullDate="dd MMMM yyyy h:nn:ss tt" longDate="dd MMMM yyyy" shortDate="dd/MM/yyyy" generalDate="dd/MM/yyyy h:nn:ss tt" />  
    <NumberPatterns negativeSign="-" NaNSymbol="NaN" negativeInfinitySymbol="-Infinity" numberDecimalDigits="2" numberDecimalSeparator="," numberGroupSeparator="." numberGroupSizes="3" numberNegativePattern="-n" positiveInfinitySymbol="Infinity" positiveSign="+" />  
  </CultureData>  

_________________
Regards
feha

www.vision.to
feedpixel.com
View profile  Send private message
infobih

Posts: 58
Posted: 05/03/2006, 3:01 AM

Thank you Feha,

it is better solution because it creates exact locale each time you begin new project

Thanks again
View profile  Send private message
feha


Posts: 712
Posted: 05/03/2006, 3:10 AM

:-) You'r welcome
_________________
Regards
feha

www.vision.to
feedpixel.com
View profile  Send private message
infobih

Posts: 58
Posted: 05/04/2006, 6:37 AM

Doesn't work unfortunatelly :(
View profile  Send private message
Rene S
Posted: 05/04/2006, 10:47 AM

So.... try the other solution, does that work?

Goodluck,

Rene
feha


Posts: 712
Posted: 05/06/2006, 12:03 AM

I found more by digging in xml files...

C:\Program Files\CodeChargeStudio3\Components\TypeLib.xml

I think this should work
_________________
Regards
feha

www.vision.to
feedpixel.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.