We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
사소한 거지만 개인적으로 자주 사용하는 패턴이라 기록해둠 😃
locale 값 - 'en', 'ja', 'ko' formatting된 결과물 - 'en_US', 'ja_JP', 'ko_KR' export const formatLocale = (locale: 'en' | 'ja' | 'ko') => { const text = { en: 'en_US', ko: 'ko_KR', ja: 'ja_JP', }[locale]; return text; };
The text was updated successfully, but these errors were encountered:
hoo00nn
No branches or pull requests
사소한 거지만 개인적으로 자주 사용하는 패턴이라 기록해둠 😃
The text was updated successfully, but these errors were encountered: