Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Unity Localization で多言語対応実装しよう / xrdnk-yokohama...
Search
Denik
May 13, 2022
Programming
10k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Unity Localization で多言語対応実装しよう / xrdnk-yokohamaunity-lt10-20220513
Denik
May 13, 2022
More Decks by Denik
See All by Denik
Oculus Interaction SDK 概説 / xrdnk-caunity-LT4
xrdnk
0
12k
XR Interaction Toolkit 2.0.0 正式リリース記念パピコ / xrdnk-xrmtg-lt-20220316
xrdnk
0
11k
Unidux を用いたマルチシーン構成の画面遷移 / xrdnk-unity-otonanolt-2021
xrdnk
0
6k
Unity Cloud Save でプレイヤーデータのクラウド保存しよう / xrdnk-yokohamaunitylt9
xrdnk
0
1.8k
Feel でゲームのエフェクトを豪華にしよう / xrdnk-yokohamaunityLT8
xrdnk
1
2k
Unidux Scene Transition Hands-on / xrdnk-unidux-scene-transition-hands-on
xrdnk
1
500
新MLAPIでマルチゲームを作ってみた / xrdnk-gotandaunityLT19-presentation
xrdnk
1
4.5k
三種の神器とMVRPパターン / xrdnk-three-sacred-treasures-and-mvrp-pattern
xrdnk
1
7.5k
MLAPIでマルチゲームを作ってみた / xrdnk-roppongiunityLT8-presentation
xrdnk
1
3.2k
Other Decks in Programming
See All in Programming
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
320
Intent as Code
shoppingjaws
6
1.1k
Streamlitで実現する自然言語データアプリ開発
ayumu_yamaguchi
1
330
マイコン向けの軽量Ruby「PicoRuby」で各種デバイスを制御するネイティブアプリの実現手法
bash0c7
0
460
Agents on Rails - Rails at Scale 2026
irinanazarova
0
300
標準パッケージに uuid が追加された 背景から見る Go らしい意思決定 / go_127_uuid_decision
convto
5
9.2k
巨大モノリシックアプリ モダン化大作戦
ktcryomm
1
1.2k
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
170
手動確認はもう限界 〜XCUITestでCustom URL Schemeの遷移を起動種別ごとに自動テストする〜 / Testing Custom URL Schemes with XCUITest
otouto
0
360
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
260
カツオ、ご期待ください
suneo3476
0
130
市販E-Readerを乗っ取れ 〜Embedded Swiftで電子ペーパーガジェットを制御する〜
trickart
0
220
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
97
6.8k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
330
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
410
Ruling the World: When Life Gets Gamed
codingconduct
0
380
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
How STYLIGHT went responsive
nonsquared
100
6.3k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
720
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
520
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
250
Abbi's Birthday
coloredviolet
4
10k
Transcript
Unity Localization で 多言語対応実装しよう 2022/05/13 yokohama unity #10 Denik (@xrdnk)
Unity / VR Engineer
自己紹介 Denik (@xrdnk) ◼ Unity / VR エンジニア ◼ MyDearest,
Inc. ◼ Dyschronia 鋭意制作中
Unity Localization (Unity L10N) Unity 公式提供のローカライゼーションパッケージ L10N = L "ocalizatio"(10文字)
N なので L10N 似たようなワードとして i18n,g11n,m17n がある 利用場面 ◼ アプリの多言語対応を行いたい ◼ 定型文のような固定テキストの管理を楽にしたい
ローカライズ可能な対象 デフォルトで提供 ◼ 文字列 (string) ◼ 画像 (Texture/Sprite) ◼ 音声(AudioClip)
拡張を実装すればどんなアセットファイルでも可能 自作の ScriptableObject にも対応 本発表では主に文字列のローカライズ部分を紹介していく
文字列のローカライズ対応の手順 1. ローカライズ文字データをテーブルに設定する 2. どのローカライズ文字データを当てはめるか設定する 3. 言語を変更して確認する
String Table Collection ローカライズ文字データの KVS データベース 赤枠の部分を TableEntry と呼ぶ 一意な
Key に対して各言語に対応する Value を設定
Localize String Event 言語が変わったら自動的にテキスト表示を変更するコンポーネント テキストがあるオブジェクトに基本的に一緒にアタッチする
String Reference Table Entry を参照するクラス (AssetReference に近い) String Table Collection
で作成した Table Entry を設定する
Locale Game View Menu Unity L10N をインストールすると Game View の右上に
ロケール(言語)を選択する UI が表示されます Preferences > Localization > Locale Game View Menu の チェックを外すと Game View から表示されなくなります
Google SpreadSheet 連携 テーブルデータは CSV または GSS で簡単に連携できます Unity Localization
の String Table と CSV ファイル・Google SpreadSheet を連携させる - デニッキ! https://xrdnk.hateblo.jp/entry/unity_localization_google_spreadsheet_
Game Object Localizer 各言語によって GameObject の設定を変更することが出来ます 例えばテキストの幅を変える等が出来ます 日本語で縦文字対応する時にも利用できてよいです
総括 ◼ Unity L10N 機能紹介 ◼ 文字列のローカライズ対応 ◼ Google SpreadSheet
連携 ◼ ロケールに応じた UI サイズの変更