thebigbradwolf
Posts: 10
|
Posted: 06/27/2008, 1:04 PM |
|
I set the site to use localization, then built a grid with the gridbuilder. In codecharge the grid looks fine, but when it is compiled and published the page in the browser displays
{res:Name}
(and the like) rather than "Name" or "Nombre". I have defined translations for 2 of the 3 locales.
This happens for all the sorters, and the...paging navigation thingy...
CodeCharge 3.2.0.2
|
|
|
wkempees
Posts: 1679
|
Posted: 06/27/2008, 2:12 PM |
|
Am not a Java guy, but this sounds like:
set publish options to 'all files.....'
and do a full publish
why? Because your language files seem not to have been published.
in project explorer you can see and edit them under 'resources' .
(copy them, just to test)
walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)
if you liked this info PAYPAL me: http://donate.consultair.eu
|
|
|
thebigbradwolf
Posts: 10
|
Posted: 06/30/2008, 9:08 AM |
|
okay, so I don't know the "proper" way to deal with this, but after looking it over and figuring out that some pages ARE working, I've found the difference. The working pages take the HTML, and the JSP page translates
{res:ResourceKeyName}
to
<ccs:message key="ResourceKeyName"/>
for some reason on the pages where it doesn't work, CCS is failing to make this change in Code>JSP, manually replacing them works fine, now that I know what I'm looking for.
Search Terms: locale lang translate internationalization
|
|
|
|