Re: [Sitr-general] Slight Mod
Status: Inactive
Brought to you by:
trendzetter
|
From: Dominik K. <Dom...@Fe...> - 2004-10-27 13:06:53
|
> Thank you! I had looked in there, but didn't realize that Myphpadmin was
> limiting my view to just the first 30 records. :) Finding the rest of
> the entries was great! I made a bunch of changes so that now my
> installation looks just like I wanted. There was only one item that I
> had to go out to the actual PHP file to edit. In settings.php there is
> one line of HTML that is "Create Application" or something like that.
> Everything else was contained in the language database. So I assume
> this is just one that got overlooked in the change over.
>
> It's great now though. I've changed "Application" to be "Category" and I
> changed "Category" to be "Document Type". Now the screens make more
> sense for my particular use.
>
You could also add another sys_language_keys entry and grab it from the
database. The pattern David uses to get text from the DB and uses it in
his scripts is very easy to understand.
$lan_delete = LookupText ("Delete");
Saves the text for the actual user's language that is associated with
keyword "Delete".
You can easily add a new item to that table and call it whatever you like.
$lan_yournameforit = LookupText ("yournameforit")
Instead of strict php-echoing "Create Application" you would echo
$lan_yournameforit
That's the entire magic of SITR being able to carry multiple languages.
I actually did a complete german set of sys_language_keys for SITR 2.0.4
but up to now, David did not reply that he wants it ...
Well, good thing we have hebrew though :D
David: I'm not meaning to offence you, a quick "no thanks" would have
been nice though.
cheers
Dominik
|