[Solar-talk] locale

Jeff Surgeson solar at 3hex.com
Wed Mar 7 22:05:08 PST 2007


> > Just downloaded latest branch changes, my app locale files are no
> > longer found
> > by solar, it does however find the Solar locale files.
> >
> > Has something changed that I dont know about?
>
> Don't think so; can you give some more details?

Paul this is my same test code that i have been using since you first released 
the new branch and the only changes I have made have been to the db side as 
you have made and added things to the new model code . 

I could have inadvertently done something stupid but do not think so, the 
previous svn download was fine,  this was when you added the setPaging 
functions, which I tested and all was great and all worked.

I delete my test Solar directory every download and use svn --export and 
download the complete solar branch of all solar files. This so as not to 
download all the .svn directories.

I have always used something like the following:

echo $this->getTextRaw('ACTION_HOME);
echo $this->action('main/home', 'ACTION_HOME');

Which should work fine, it now returns untranslated locale value 'ACTION_HOME' 
key and not the locale file value.

If I used a locale value that exists in a Solar main locale file 
like 'ACTION_EDIT'  it will get translated. 

I cant work out how to find out why and how it is not finding my locale file 
and translating them. The only thing I can think of is that something other 
than the new model stuff has changed or is missing.

Is there a simple way to determine if I have done something stupid or if there 
is a solar issue?

-- 
...........::::::...........
Jeff Surgeson / South Africa


More information about the solar-talk mailing list