class IsoDoc::I18n

def l10n_fr1(text, prev, foll, locale)

def l10n_fr1(text, prev, foll, locale)
  text = l10n_gsub(text, prev, foll, [/[»›;?!]/, "\u202f\\0"],
                   [/\p{Alnum}$/, /^(\s|$)/])
  text = l10n_gsub(text, prev, foll, [/[«‹]/, "\\0\u202f"], [/$/, /^./])
  colonsp = locale == "CH" ? "\u202f" : "\u00a0"
  l10n_gsub(text, prev, foll, [":", "#{colonsp}\\0"],
            [/\p{Alnum}$/, /^(\s|$)/])
end