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
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
690
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
35
17k
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
170
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
280
Rでドレミ/Do-Re-Mi_with_R
florets1
0
130
TechTown - Creating Composable Callables in Contemporary C++
rollbear
0
130
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
220
JIS keyboard support in Omarchy
lef237
0
140
GraphQL の onError と Nullability のこれから
quramy
0
120
最近”作らせてる” ローカルAIアプリの話
akit37
0
480
パスワード再設定メールのURLについて知っておこう
uyuki234
0
170
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
380
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Skip the Path - Find Your Career Trail
mkilby
1
260
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
A designer walks into a library…
pauljervisheath
211
25k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
Done Done
chrislema
187
17k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
310
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
460
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 サイズの変更