[AITW] language selection, so no warnings

Want to share what MODs you've gotten to work with EM? Happy about all the time your're saving? Want to say "thanks"? Here's the place.
Forum rules
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!
Locked
User avatar
chickeneater
Registered User
Posts: 36
Joined: Mon Aug 11, 2003 3:08 am
Contact:

[AITW] language selection, so no warnings

Post by chickeneater »

it would be great to be able to install only a certain language, so you won't get warnings. also, another way is to check see if the dir, say there is lang_english and lang_german and lang_german was copied by default and had one file say lang_xs.php in it. EM should check to see if lang_* has the right files like lang_main.php and lang_admin.php etc

User avatar
GPHemsley
Registered User
Posts: 1617
Joined: Fri Apr 18, 2003 4:01 am
Location: Long Beach, NY
Contact:

Re: language selection, so no warnings

Post by GPHemsley »

chickeneater wrote:it would be great to be able to install only a certain language, so you won't get warnings.
I think this is being/was discussed in the checkbox suggestion topic. ;)

User avatar
chickeneater
Registered User
Posts: 36
Joined: Mon Aug 11, 2003 3:08 am
Contact:

Re: language selection, so no warnings

Post by chickeneater »

oh, well, what about the check:

Code: Select all

if file_exists('language/lang_english/lang_main.' . $phpEx)
:)
just a bit of my php knowledge

User avatar
chickeneater
Registered User
Posts: 36
Joined: Mon Aug 11, 2003 3:08 am
Contact:

Re: language selection, so no warnings

Post by chickeneater »

I didn't see it in the topic...

User avatar
GPHemsley
Registered User
Posts: 1617
Joined: Fri Apr 18, 2003 4:01 am
Location: Long Beach, NY
Contact:

Re: language selection, so no warnings

Post by GPHemsley »

chickeneater wrote:I didn't see it in the topic...
Oh, no wait, my mistake.... But this was discussed back at the main site, IIRC... :?

Nuttzy99
Registered User
Posts: 927
Joined: Fri Aug 03, 2001 7:09 am
Contact:

Re: language selection, so no warnings

Post by Nuttzy99 »

Better handling of other languages and styles is already planned.

-Nuttzy :cool:
SpellingCow.com - Free spell check service for your forums or any web form!
My Other Site

Locked