def parse_source_file_name(name)
      matches = name.match(/^(?<name>.*?)(\.#{LOCALES_RE})?(\.#{PAGE_SUFFIXES_RE})$/)
      if matches
        [matches['name'], matches['suffix']]
      else
        [name, nil]
      end
    end
def parse_source_file_name(name)
      matches = name.match(/^(?<name>.*?)(\.#{LOCALES_RE})?(\.#{PAGE_SUFFIXES_RE})$/)
      if matches
        [matches['name'], matches['suffix']]
      else
        [name, nil]
      end
    end
returns [name, suffix]
 called on new page initialization