Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

Changing “hey” back to “hello” in Elegant theme

Aloittaja mesothet, lokakuu 09, 2011, 12:14:41 AP

« edellinen - seuraava »

mesothet

I'm using the Elegant theme for SMF 2.0.1. When someone logs in "hey, [username]" appears. I'd like to change "hey" to "Hello" but don't know in what file to look--and where in the file to look.
""I know I know nothing, and maybe not even that much—but, then again, I could be wrong."

metaobjectivism.com [nofollow]

Sir Osis of Liver

It's in index.english.php.  Look for $txt['hello_member'].

When in Emor, do as the Snamors.
                              - D. Lister

kat

It's VERY American, that "Hey" thing.

I think I've had to change that on every forum I've had access to.

In Europe, it's seen as being quite aggressive. We only usually greet someone, with that, if we're gonna bop 'em one.

mesothet

:) Yea, something told me that "hello" might be better for a broader audience.

So where would I find index.english.php: I think I've looked in every file and didn't see it.

I are a newbie, don't you know.
""I know I know nothing, and maybe not even that much—but, then again, I could be wrong."

metaobjectivism.com [nofollow]

kat

It's in the default theme's "Languages" directory.

If it's only showing on that "Elegant" theme, it'll be in the theme's "languages" directory. :)

Unless the theme's author's been naughty.

"Hi!" seems to be universally acceptable, if "Hello" seems a bit formal, for you.

We changed ours to "Wotcha!". ;)

WillyP

Even in the US, 'hey' is a bit rude, except between close friends.


mesothet

Right. So in my themes/[ ... Theme ... ]/language folder I see only index.php and Settings.language.php. The latter one tells me to read the text of index.language.php before making any adjustments to it: but, again, I can't find find/see index.language.php (in this file or any other).
""I know I know nothing, and maybe not even that much—but, then again, I could be wrong."

metaobjectivism.com [nofollow]

kat

index.english.php in the default theme's "languages" directory, then.:)

mesothet

I'm on the right track. (It was the one directory I was too lazy to look all the way through.) But ... after changing "Hey" to "Hello" it still didn't work.

Btw, I also noticed this line bellow the $txt['hello_member']:

$txt['welmsg_hey'] = 'Hey,';

I changed this one too to "Hello" but still no go.
""I know I know nothing, and maybe not even that much—but, then again, I could be wrong."

metaobjectivism.com [nofollow]

kat

You refreshed?

You may need to empty your browser's cache.

mesothet

Yes. Emptied the browser's cache, restarted the browser, and emptied the forum cache. Downloaded index.language.php to make sure that the changes were updated, and they are.

""I know I know nothing, and maybe not even that much—but, then again, I could be wrong."

metaobjectivism.com [nofollow]

mesothet

If its of any help, the "hey" used to not be capitalized; now it is: "Hey," (don't think this change is for the better :))
""I know I know nothing, and maybe not even that much—but, then again, I could be wrong."

metaobjectivism.com [nofollow]

Illori

have you tried asking the theme author? they would know best what string is used and where it needs to be changed.

kat

I just checked the theme's files and it's not in any of those...

In index.english.php, you want to change this line:

$txt['hello_member'] = 'Hey,';

to

$txt['hello_member'] = 'How ya doin',';

or whatever.

Angelina Belle

Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

kat

That doesn't appear in index.english.php with SMF v2, though.

At least, it doesn't on mine. ;)

Illori

in 2.0

$txt['hello_member'] = 'Hey,';

$txt['welmsg_hey'] = 'Hey,';

$txt['hello_member_ndt'] = 'Hello';


Angelina Belle

And, if you have other languages available (like english-british), you'll need to make the EXACT SAME changes in those files
index.<language>.php, where <language> is english or english-british-utf8.

If you have a language directory in your Elegant theme, you should make the changes in your default theme and also in your Elegant theme.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Advertisement: