code: def getBundle(cls, localeStr=None):
      if localeStr is None:
          try:
              localeStr = (
                  locale.getlocale()[0]
                  if locale.getlocale() and len(locale.getlocale()) > 0
                  else os.getenv("LANG")
              )
          except:
              print("Invalid locale")
              localeStr = "en"
  
      return StringBundle(cls.__create_key, localeStr)
  
file_path: PaddleOCR/PPOCRLabel/libs/stringBundle.py
imports: import re
  import os
  import sys
  import locale
  from libs.ustr import ustr
label_desc: Use image node_id 2 for calling the StringBundle obj's underlying member method code with example usage: obj.getBundle(cls, localeStr) and returns: StringBundle