cancel
Showing results for 
Search instead for 
Did you mean: 

Delete languages from que login page

unknown-user
Champ on-the-rise
Champ on-the-rise
Hello there.

I have a question: in the web-client-config.xml we have defined only a list of 3 languages availables for the user, but when a new user wants to login, all the languages appear there, the ones we put in the web-client-config.xml, and the rest of the languages appear as well, and we don't want to.

Another question
We want to appear a default language in the box, but always appears just the local language. Where can we configure this?

Thanks for all
Bird
5 REPLIES 5

paulhh
Champ in-the-making
Champ in-the-making
Hi

It's a bit difficult to answer fully without a bit more detail about which release this is and exactly which files you are modifying.

For example, in 1.3, the only langauge defined in:
tomcat/webapps/alfresco/WEB-INF/classes/alfresco/web-client-config.xml
is English.  All other languages are defined in the "external" extensions in:
tomcat/shared/classes/alfresco/extension/web-client-config-custom.xml

Obviously, any configurations you make should ideally be made in the external extension location.  If you do not want English to show as a language, then you can use the "replace" option in the extension configuration to completely replace the default language config, rather than augment it.  E.g. in web-client-config-custom.xml:
<config evaluator="string-compare" condition="Languages" replace="true">

Regards
Paul.

unknown-user
Champ on-the-rise
Champ on-the-rise
Thanks Paul!

We have done what you say in your post, and it works ok. What we don't know now, is how to show a default language when the user wants to login.

Thanks! waiting for your reply.
Bird

kevinr
Star Contributor
Star Contributor
The language at the top of the list is shown first.

Thanks,

Kevin

unknown-user
Champ on-the-rise
Champ on-the-rise
sorry, but that's not true.

In the top of the list we have "Angl?s" and after "Castell?" and what is shown is "Castell?".

Any suggestions?

Thanks.

kevinr
Star Contributor
Star Contributor
Ok this is how it works, first the web-client attempts to show the language for the locale of the user or the locale of the server, if a lang pack is not found for that locale then the first item in the list is shown. If this is not what you need then please raise an enhancement request in jira.

Thanks,

Kevin