--- loncom/localize/lonlocal.pm 2003/09/17 23:16:27 1.5 +++ loncom/localize/lonlocal.pm 2003/09/20 14:16:09 1.7 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Localization routines # -# $Id: lonlocal.pm,v 1.5 2003/09/17 23:16:27 www Exp $ +# $Id: lonlocal.pm,v 1.7 2003/09/20 14:16:09 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -67,6 +67,12 @@ sub mt (@) { } } +# ============================================================== What language? + +sub current_language { + return $lh->language_tag(); +} + # ============================================================== Translate hash sub texthash {