Trouble with Chinese language files


I use the multilingual feature. Installed languages are English, Japanese and Chinese. All files comes from our SVN.

If I switch to Japanese, the site works as well, since I support the language files. But if I switch to the Chinese, I can see a blank linebreak on top of the page. Maybe the issue comes from the language files, but I could not find out from which.

One curios point who I found is the source code from the page.

In the English page and Japanese page, the HTML Tag "......" is correct. If I look in the Chinese Page, the head tag is empty!

But why???


Re: ERROR: Invalid Username - Is it?

that's the point david. since icms 1.1 you CAN login with your email address instead of login name. i added email address login to icms 1.1 though i think it required a bugfix which i think i did in 1.1.1 or 1.1.2. but the feature is already there.

EDIT: yep it's still functioning, i just logged out of this site, and logged back in using my email address.

Live as if you were to die tomorrow, Learn as if you were to live forever

The beauty of a living thing is not the atoms that go into it, but the way those atoms are put together!

Re: ERROR: Invalid Username - Is it?

I would like to be able to login with email address

Re: ERROR: Invalid Username - Is it?

my experience on Tim's site when i tried registering was that it wasn't clearly defined as to what the problem exactly was.

i couldn't register, and didn't know why. but the term invalid username just doesn't give enough detail, that and it is very confusing because we DON't have a username on any registration form.

we have Display Name & Login Name. but the error says invalid Username! so which of those was invalid? psychic head on.

it turned out it was the display name that was invalid & not the login name.

now i know that can easily be sorted by changed the Language definition, shouldn't be a problem then.

then there's the issue of external scripts, i couldn't login to a site, because the site was using uname, which is actually displayname, so i had to login using displayname and not login name. very confusing.

now onto my opinions regarding this matter, and some may disagree with what i'm about to say.

I think having Login Name & Display name is completely unneccessary, i was against it then, and i'm afraid, it hasn't changed my opinion since. i honestly can't see where the extra benefits of having them are in terms of security.

Brute force??? hmmm yeah, an unknown login name prevents it. but as far as i can tell, that is the ONLY reason for it.

silently locking the account after 3 or 5 failed attempts (either with a timer that can be set in admin, or via email asking the owner to confirm via clicking a link in the email to unlock is FAR Superior method at stopping brute force.)

my proposal to this argument.

1. ICMS users can actually log in to the system using their email address!!! <do people know this???>

2. get rid of the login name completely, just have display name for display purposes!

3. users would then use their email address/open id to login to their sites with, this can already be done anyway, so no coding changes are required on that part!.

4. create a function where after x failed attempts, the account is locked (either silently or with a notice) for either x amount of time or via an email sent to the users account which they have to confirm to unlock the account, or via admin unlocking it for them)

5. Problem Solved!

Live as if you were to die tomorrow, Learn as if you were to live forever

The beauty of a living thing is not the atoms that go into it, but the way those atoms are put together!

Re: ERROR: Invalid Username - Is it?

The text 'ERROR: Invalid Username' is the text for _US_INVALIDNICKNAME, which is used in 3 places in the core

1 - kernel/user.php, line 826
2 - kernel/user.php, line 835
3 - edituser.php, line 96

In #1, the uname field is checked against the stopspammer list
In #2, the login_name is tested to see if it is empty, or if the config setting for username filtering is met by login_name
In #3, uname is checked to be sure it isn't blank

Re: ERROR: Invalid Username - Is it?

  • 2011/1/8 17:59:19
  • Tom

Ha ha, I just rediscovered this, Vaughan had issues registering at a website last week because of this exact same issue.

Vaughan do to care to share your experience and opinion on this? lol

Re: impresscms en français

You shouldn't spend too much time translating the profile module shipped with 1.2.4 or below.
Language files for the version shipped with 1.3 have changed a lot and since 1.3 is just around the corner you should rather translate those.

the german icms website :

Re: impresscms en français

Il faudra investiguer les erreurs sur la page d'administration. Je pourrai faire ça ce weekend.

Le profil est un module séparé. Il est distribué avec le core d'ImpressCMS, mais c'est considéré par le système comme un module comme les autres. Il faudrait donc une traduction à part.

Je vois que cette traduction n'existe pas encore. Je vais tenter de faire la traduction pour le module profile aussi ce weekend.

Re: impresscms en français

rebonjour, je viens de tester mais j'ai beaucoup d'erreurs sur la page d'administration est ce normal ? sinon quand j’accède a ma page de profile ya toujours l'anglais qui s'affiche! avec bcp d'erreurs.


Re: impresscms en français

Merci bcp fiammybe pour la réponse, je vais l'essayé tout de suite!

Re: impresscms en français

Bonjour Marco,

bienvenu chez ImpressCMS!

Il y a une traduction française du core sur le site addons. Cette version est pour 1.2.1, mais je ne pense pas qu'il y a eu beaucoup de changements.

Il faudrait voir aussi si les modules que tu veux utiliser disposent d'une traduction en français. Si dans les modules que tu utilises, il y a une traduction qui manque, notifie-moi et je ferai en sorte que quelqu'un puisse traduire.

Tu peux commencer avec la version mentionné ici, et je vais vérifier la traduction du core pour 1.2.4 ce weekend.

impresscms en français

  • 2011/1/4 20:33:47
  • knoox

je suis nouveau sur impresscms
y'a t-il une traduction française de impresscms 1.2.4?


Re: how to display the names of languages

sorry for this post
I found it unnecessary to answer


thank you anyway

how to display the names of languages


how to display the names of languages such as:
for flags

English Nederlands 

but to show the name of the language alongside the flags
codes is not working
['ml_captions'] or [langnames]


Re: ERROR: Invalid Username - Is it?

I've used the same login/username on some local installs without a problem, must be something else.

Re: ERROR: Invalid Username - Is it?

i think it means login name can't be the same as display name. haven't looked at the code tho. but i think that's why.

Live as if you were to die tomorrow, Learn as if you were to live forever

The beauty of a living thing is not the atoms that go into it, but the way those atoms are put together!

ERROR: Invalid Username - Is it?

  • 2010/12/21 16:21:18
  • Tom

I put in:

Display Name: tester
Login Name: terster

(the extra r is meant to be there)

And get:

ERROR: Invalid Username

So what does this mean, is the display name or is the login name invalid, because the end user sees is the username is but non of those those two options on the form are called username. Confusing to the end user, its not consistent.

Also what is an invalid, is the name taken, is it not longer enough, to long or is it a reserved name or a banned name? Perhaps the system could suggest an alternative as well?

It really doesn't tell the end user anything at all so how would they know how to proceed?

Re: Czech translation for ImpressCMS 1.1 beta

  • 2010/8/7 10:03:05
  • david

Excellent work - we'll get this added to the svn as well for you!

Re: Czech translation for ImpressCMS 1.2.2

Czech language Pack UTF8 for ImpressCMS 1.2.2 from 2010/8/7 is in download section.
The archive contains complete translation into Czech: Core, phpmailer, install, DHTML.

Re: Multilanguage question in themes...

Well SEO seems not to be a major concern (or so the guy says).

I'm not that great at smarty, so I tried to follow the tutorial but it didn't work. Could anyone help me?

I want to have a better understanding of applying multilanguage features before making a recommendation (I also need to learn a little more of it myself).