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
13k
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
510
新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
contenteditable と日本語入力に向き合う
colorful12
0
180
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
510
Simple Storage Service(S3) is not simple
iwatsukayura
0
230
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.5k
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.5k
GitHubハンズオン講座 — 実務レベルのチーム開発のフローを身につけよう
junhat6
0
120
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.2k
Kubernetes祭り #2 OP/ED
bells17
0
110
パーソナライズPodcastを作った話
repunit11
0
130
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
140
最近”作らせてる” ローカルAIアプリの話
akit37
0
410
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
140
Featured
See All Featured
Side Projects
sachag
456
43k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
66k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Technical Leadership for Architectural Decision Making
baasie
3
600
First, design no harm
axbom
PRO
2
1.3k
So, you think you're a good person
axbom
PRO
2
2.2k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.3k
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
860
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
550
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 サイズの変更