CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 style buttons internationalization

Print topic Send  topic

Author Message
viktork

Posts: 22
Posted: 09/28/2012, 6:11 AM

CCS generates style buttons as per language files i.e.:
src="../Styles/Basic/Images/en/ButtonSearch.gif"
src="../Styles/Basic/Images/fr/ButtonSearch.gif"
src="../Styles/Basic/Images/ro/ButtonSearch.gif"
etc

But when the page is actually generated the buttons still show the source to the default language and does not responds to ?locale=fr or other language settings.

Any ideas how to make it working?

Thanks!
View profile  Send private message
bannedone


Posts: 273
Posted: 09/28/2012, 8:32 AM

Hi

Seems to work fine for me.

Try:

Check Internationalization in project settings (if not already)
Add your languages to that screen
Close CCS
Go to the Project's directory
Delete Common.php, Classes.php, Template.php
Also Delete the main php file IE: yourpage.php (NOT the _events.php file for that page!)
Re-open the project in CCS
Re-Publish the entire project.

Let me know if that helps.


_________________
John Real
CodeCharge Studio Support, Training, Consulting, Development, Web based solutions
http://realsites.biz
http://ccselite.com
Other Banned IDs on this Forum. jjrjr1, jjrjr2
View profile  Send private message
viktork

Posts: 22
Posted: 10/03/2012, 3:15 AM

Tried

Check Internationalization in project settings (if not already)
Add your languages to that screen
Close CCS
Go to the Project's directory
Delete Common.php, Classes.php, Template.php
Also Delete the main php file IE: yourpage.php (NOT the _events.php file for that page!)
Re-open the project in CCS
Re-Publish the entire project.
============================+
Nothing works.
View profile  Send private message
viktork

Posts: 22
Posted: 10/03/2012, 4:22 AM

Found a way out:

Did a global change for

Changed
Styles/<mystylefolder>/Images/en/

to
Styles/<mystylefolder>/Images/{res:CCS_LanguageID}/

Now works ok.
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.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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