Options
All
  • Public
  • Public/Protected
  • All
Menu

데이터 포맷 변환기

example

const localesRowData = [
    ['ID', 'EN', 'KO'],
    ['code.hello', 'hello', '안녕'],
    ['code.bye', 'bye', '잘가'],
]

const locales = LocaleDataConverter.convertLocales(localesRowData)
result

{
    'EN': {
        'code.hello': 'hello',
        'code.bye': 'bye'
    },
    'KO': {
        'code.hello': '안녕'
        'code.bye': '잘가'
    }
}

Hierarchy

  • LocaleDataConverter

Index

Properties

Static Private ID

ID: string = "ID"

Methods

Static convertLocale

Static convertLocales

Static Private createLocale

Static Private validate

Generated using TypeDoc