fix bug 647796 - get_best_language without NSL bug