class_docstr: Locale implementation using tornado's CSV translation format.
code: def translate(
      self,
      message: str,
      plural_message: Optional[str] = None,
      count: Optional[int] = None,
  ) -> str:
      if plural_message is not None:
          assert count is not None
          if count != 1:
              message = plural_message
              message_dict = self.translations.get("plural", {})
          else:
              message_dict = self.translations.get("singular", {})
      else:
          message_dict = self.translations.get("unknown", {})
      return message_dict.get(message, message)
  
imports: import codecs
  import csv
  import datetime
  import gettext
  import glob
  import os
  import re
  from tornado import escape
  from tornado.log import gen_log
  from tornado._locale_data import LOCALE_NAMES
  from typing import Iterable, Any, Union, Dict, Optional
label_desc: Use image node_id 2 for calling the CSVLocale obj's underlying member method code with example usage: obj.translate(message, plural_message, count) and returns: message_dict