metanorma-bipm 2.7.6 → 2.7.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,7 +17,8 @@ module IsoDoc
17
17
 
18
18
  def i18n_init(lang, script, locale, i18nyaml = nil)
19
19
  @i18n = I18n.new(lang, script, locale: locale,
20
- i18nyaml: i18nyaml || @i18nyaml)
20
+ i18nyaml: [i18nyaml,
21
+ Metanorma::Bipm.configuration.i18nyaml[lang], @i18nyaml])
21
22
  end
22
23
 
23
24
  def bibrenderer(options = {})