- set language in admin is not fully loaded the langauge file (check on languages folder there is id.py for indonesian language that in the select form field doesn't have it) - set language is not work in application
e.g. *models/db.py* if 'language' in request.cookies and not (request.cookies['language'] is None): T.force(request.cookies['language'].value) else: T.force('id') *controllers/settings.py* def language(): return locals() *views/settings/language.html* {{extend 'layout.html'}} {{if hasattr(T,'get_possible_languages_info'):}} <select name="language" onchange="var date = new Date();cookieDate=date.setTime(date.getTime()+(100*24*60*60*1000));document.cookie='adminLanguage='+this.options[this.selectedIndex].id+'; expires='+cookieDate+'; path=/';window.location.reload()"> {{for langinfo in sorted([(code,info[1]) for code,info in T.get_possible_languages_info().iteritems() if code != 'default']):}} <option {{=T.accepted_language==langinfo[0] and 'selected' or ''}} {{='id='+langinfo[0]}} >{{=langinfo[1]}}</option> {{pass}} </select> {{else:}} {{pass}} best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.