aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/dal_metadata.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v3/dal_metadata.rb')
-rw-r--r--lib/sisu/v3/dal_metadata.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v3/dal_metadata.rb b/lib/sisu/v3/dal_metadata.rb
index 31a7e4b2..56ef662c 100644
--- a/lib/sisu/v3/dal_metadata.rb
+++ b/lib/sisu/v3/dal_metadata.rb
@@ -60,7 +60,7 @@ module SiSU_metadata
class Metadata
def initialize(md,metad)
@md,@metadata=md,metad
- l=SiSU_Env::Standardise_language.new.file_to_language(md.fns)
+ l=SiSU_Env::Standardise_language.new(@md.opt.lng).language
language=l[:l]
@tr=SiSU_Translate::Source.new(md,language)
end