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
Rails i18nでロシア語がおかしいのだが/Russian in Rails i18n
Search
Orgil Dj
March 26, 2018
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Rails i18nでロシア語がおかしいのだが/Russian in Rails i18n
rails, i18n, cookpad
Orgil Dj
March 26, 2018
Transcript
24 slides
рецепт िविध تافصو recepty QRUMTKHVGT TG\GRVG συνταγή recetas اذغ روتسد
recettes receptek resep ricette 레시피 przepisy TGEGKVCU recept công thức nấu ăn ৯ේ สูตร Ϩγϐ Rails i18nͰϩγΞޠ͕͓͔͍͠ͷ͕ͩ Techconf 2018 LT 2018.02.10 - ΦϦΪϧ
$ whoami • @orgil_ (ΦϦΪϧ) • ΫοΫύου 16৽ଔ • ւ֎ࣄۀ෦
• Search Engineer • ੈք22ݴޠͷϨγϐݕࡧ
рецепт िविध تافصو recepty QRUMTKHVGT TG\GRVG συνταγή recetas اذغ روتسد
recettes receptek resep ricette 레시피 przepisy TGEGKVCU recept công thức nấu ăn ৯ේ สูตร Ϩγϐ
рецепт िविध تافصو recepty QRUMTKHVGT TG\GRVG συνταγή recetas اذغ روتسد
recettes receptek resep ricette 레시피 przepisy TGEGKVCU recept công thức nấu ăn ৯ේ สูตร Ϩγϐ ϩʔΧϦθʔγϣϯ
i18n • RailsࠃࡍԽ • interna@onaliza@on => i18n • ଟݴޠԽΛαϙʔτ͢ΔϑϨʔϜϫʔΫ •
จݴͷ༁ͷΈ • ௨՟ϑΥʔϚοτͳͲ
yamlϑΝΠϧΛஔ͚ͩ͘
ӳޠ ΞϥϏΞޠ จݴͷ༁
୯ܗ ෳܗ recipe recipes
Ϩγϐݕࡧ݁Ռ • 1݅ => chicken recipe • 100݅ => chicken
recipes 100
Ϩγϐݕࡧ݁Ռ • 1݅ => chicken recipe • 100݅ => chicken
recipes 100 ࣈʹΑͬͯจݴ͕มΘΔ ‐ ‐
pluraliza@on 1 2 3 4 1 recipe 2 recipes 3
recipes 4 recipes 1 pецепт 2 pецепта 7 pецептов 8 pецептов
pluraliza@on 1 2 3 4 1 recipe 2 recipes 3
recipes 4 recipes 1 pецепт 2 pецепта 7 pецептов 8 pецептов ‐ GPSN มΘΒͳ͍ ‐ GPSN ޙΖʹzTz ‐ NVMUJGPSN ࣈʹΑͬͯ݅ذ ͷͱ͖ ͷͱ͖ ͷͱ͖
i18n :one :other :many :few Ωʔ ↓ ͨ͠countʹΑͬͯదͳΩʔΛ͏ IUUQHVJEFTSVCZPOSBJMTPSHJOIUNMQMVSBMJ[BUJPO
Ϩγϐ1ݸͷ߹ࣈग़͞ͳ͍
Ϩγϐ1ݸͷ߹ࣈग़͞ͳ͍ ͱ͜Ζ͕
• ݕࡧ݁Ռʹ͕݅ग़ͳ͍όάใࠂ • ͖͋Β͔ʹ1݅Ҏ্ͷݕࡧ݁Ռ "ϩγΞޠ͕͓͔͍͠
:one != 1
:one == singular 1, 21,… 101… Ͱ୯ܗ͕ΘΕΔ ➚ ➚ ➚
unicode.org ͰެࣜυΩϡϝϯτ͕͋Δ IUUQXXXVOJDPEFPSHDMESDIBSUTTVQQMFNFOUBMMBOHVBHF@QMVSBM@SVMFTIUNMSV ↑ :one :few :many :other ͕͜Εʹ૬͢Δ
IUUQTHJUIVCDPNTWFOGVDITSBJMTJOCMPCNBTUFSMJCSBJMT@JODPNNPO@QMVSBMJ[BUJPOTFBTU@TMBWJDSC
IUUQTHJUIVCDPNTWFOGVDITSBJMTJOCMPCNBTUFSMJCSBJMT@JODPNNPO@QMVSBMJ[BUJPOTFBTU@TMBWJDSC Rails i18n ͋Γ͕͍ͨ!
UXPGPSN SFDJQF ʜSFDJQFT &OHMJTI *UBMJBO
'SFODI 5VSLJTIFUD Ϥʔϩούͷݴޠ POFGPSN ʜϨγϐ ຊޠɺதࠃޠɺؖࠃޠɺ5IBJFUD ΞδΞͷݴޠ͕ଟ͍ ʜ pецепт ʜpецепта ʜpецептов 3VTTJBO 6LSBJOJBO 1PMJTI -JUIVBOJBOFUD ϩγΞޠܥݴޠ͕ࣅ͍ͯΔ GPSN "SBCJD )FCSFX *SJTIFUD IUUQXXXVOJDPEFPSHDMESDIBSUTTVQQMFNFOUBMMBOHVBHF@QMVSBM@SVMFTIUNMDPNQBSJTPO ୯ɺෳϧʔϧͷׂ߹
ऴΘΓʹ • ϩʔΧϦθʔγϣϯ໘ന͍ • i18nศར (༷ΛͪΌΜͱ্ͬͨͰ͏) • :one != 1
• ݱͷਓʹݟͯɺͬͯΒ͓͏ • ݕࡧͬͱ໘ന͍
рецепт िविध تافصو recepty QRUMTKHVGT TG\GRVG συνταγή recetas اذغ روتسد
recettes receptek resep ricette 레시피 przepisy TGEGKVCU recept công thức nấu ăn ৯ේ สูตร Ϩγϐ Happy i18n!
More Decks by Orgil Dj
See All by Orgil Dj
クックパッド検索システム統合/Cookpad Search System Consolidation
giga811
1
690
Go Global Search 2
giga811
0
3.7k
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
690
Rebuilding a faster, lazier Slack
samanthasiow
85
9.8k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
570
The Mindset for Success: Future Career Progression
greggifford
PRO
0
560
How STYLIGHT went responsive
nonsquared
100
6.4k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
770
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
530
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
640
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
880