Your SlideShare is downloading. ×
0
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Internationalization of your homepage
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Internationalization of your homepage

1,025

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,025
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide













































































































































  • Transcript

    • 1. 2009.3.21 Monday, March 23, 2009
    • 2. Monday, March 23, 2009
    • 3. Monday, March 23, 2009
    • 4. orz Monday, March 23, 2009
    • 5. orz Monday, March 23, 2009
    • 6. orz Monday, March 23, 2009
    • 7. orz ( PLC etc) Monday, March 23, 2009
    • 8. orz ( PLC etc) iPhone ( ) Monday, March 23, 2009
    • 9. Monday, March 23, 2009
    • 10. Monday, March 23, 2009
    • 11. Monday, March 23, 2009
    • 12. Monday, March 23, 2009
    • 13. Monday, March 23, 2009
    • 14. Monday, March 23, 2009
    • 15. iPhone Monday, March 23, 2009
    • 16. iPhone iUnitTest iPhone Testing Open Source Monday, March 23, 2009
    • 17. iPhone iUnitTest iPhone Testing Open Source AppStore Monday, March 23, 2009
    • 18. Monday, March 23, 2009
    • 19. Monday, March 23, 2009
    • 20. iPhone Monday, March 23, 2009
    • 21. Monday, March 23, 2009
    • 22. Monday, March 23, 2009
    • 23. iPhone Monday, March 23, 2009
    • 24. Monday, March 23, 2009
    • 25. Monday, March 23, 2009
    • 26. Monday, March 23, 2009
    • 27. Monday, March 23, 2009
    • 28. Monday, March 23, 2009
    • 29. Monday, March 23, 2009
    • 30. Monday, March 23, 2009
    • 31. request Monday, March 23, 2009
    • 32. Monday, March 23, 2009
    • 33. How Monday, March 23, 2009
    • 34. Rails Monday, March 23, 2009
    • 35. i18n Monday, March 23, 2009
    • 36. i18n Monday, March 23, 2009
    • 37. Monday, March 23, 2009
    • 38. 18 Internatio nalization Monday, March 23, 2009
    • 39. Monday, March 23, 2009
    • 40. L10n Monday, March 23, 2009
    • 41. Localiz ation Monday, March 23, 2009
    • 42. Monday, March 23, 2009
    • 43. Monday, March 23, 2009
    • 44. L12y Monday, March 23, 2009
    • 45. M17n Monday, March 23, 2009
    • 46. Monday, March 23, 2009
    • 47. Monday, March 23, 2009
    • 48. Monday, March 23, 2009
    • 49. Mozilla http://www.mozilla-japan.org/docs/refList/ i18n/ FreeBSD Chapter 16. (localization) - I18N/L10N http://www.freebsd.org/doc/ja/books/ handbook/l10n.html Monday, March 23, 2009
    • 50. - . .etc ja-JP - en-US - en-UK - zh-TW - Monday, March 23, 2009
    • 51. Rails Monday, March 23, 2009
    • 52. Monday, March 23, 2009
    • 53. 2.2 Monday, March 23, 2009
    • 54. 2.3 Monday, March 23, 2009
    • 55. Monday, March 23, 2009
    • 56. Rails 2.2.2 Monday, March 23, 2009
    • 57. rails i18n_test Monday, March 23, 2009
    • 58. config/locales Monday, March 23, 2009
    • 59. en.yml en: hello: quot;Hello worldquot; ja.yml ja: hello: quot; quot; Monday, March 23, 2009
    • 60. View script/generate controller hello index app/views/hello.index.html.erb t :hello %> <%= Monday, March 23, 2009
    • 61. (ja-JP) Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; ja-jp) Monday, March 23, 2009
    • 62. (en-US) Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) Monday, March 23, 2009
    • 63. ! Monday, March 23, 2009
    • 64. Monday, March 23, 2009
    • 65. Monday, March 23, 2009
    • 66. ApplicationController class ApplicationController < ActionController::Base before_filter :set_locale def set_locale I18n.locale = params[:locale] end end Monday, March 23, 2009
    • 67. Monday, March 23, 2009
    • 68. request Monday, March 23, 2009
    • 69. ApplicationController class ApplicationController < ActionController::Base before_filter :set_locale def set_locale locale_request = request.cgi.accept_language.split('.').first I18n.locale = params[:locale] || locale_request end end Monday, March 23, 2009
    • 70. Monday, March 23, 2009
    • 71. ja-JP ja Monday, March 23, 2009
    • 72. ApplicationController class ApplicationController < ActionController::Base before_filter :set_locale def set_locale locale_request = request.cgi.accept_language.split('-').first I18n.locale = params[:locale] || locale_request end end Monday, March 23, 2009
    • 73. Monday, March 23, 2009
    • 74. Monday, March 23, 2009
    • 75. Monday, March 23, 2009
    • 76. View Monday, March 23, 2009
    • 77. View Validation Monday, March 23, 2009
    • 78. config/environment.rb Rails::Initializer.run do |config| . . config.i18n.default_locale = :ja end ApplicationController Monday, March 23, 2009
    • 79. Monday, March 23, 2009
    • 80. Monday, March 23, 2009
    • 81. Monday, March 23, 2009
    • 82. ja: index: sentence1: “ Apache ” sentence2: “ ?” sentence3: “ web web The Apache Software Foundation web ” sentence4: “Apache web Apache web Apache !” Monday, March 23, 2009
    • 83. Monday, March 23, 2009
    • 84. yml Monday, March 23, 2009
    • 85. yml Monday, March 23, 2009
    • 86. yml Monday, March 23, 2009
    • 87. yml Monday, March 23, 2009
    • 88. yml Monday, March 23, 2009
    • 89. yml sentence1 Image sentence2 sentence3 Monday, March 23, 2009
    • 90. Monday, March 23, 2009
    • 91. View Monday, March 23, 2009
    • 92. View Rails2.2 Monday, March 23, 2009
    • 93. View Rails2.2 Monday, March 23, 2009
    • 94. Ruby-Locale for Ruby on Rails http://www.yotabanana.com/hiki/ja/ruby- locale-rails-howto.html Monday, March 23, 2009
    • 95. Ruby-Locale for Ruby on Rails http://www.yotabanana.com/hiki/ja/ruby- locale-rails-howto.html sudo gem install locale sudo gem install locale-rails Monday, March 23, 2009
    • 96. config/environment.rb Rails::Initializer.run do |config| . . config.gem 'locale' config.gem 'locale_rails' end ApplicationController Monday, March 23, 2009
    • 97. app/views/hello/index_ja.html.erb index_ja.html.erb Monday, March 23, 2009
    • 98. params[:lang] ja-JP ja Monday, March 23, 2009
    • 99. Monday, March 23, 2009
    • 100. Monday, March 23, 2009
    • 101. en Monday, March 23, 2009
    • 102. config/initializers/ locales.rb http://www.yotabanana.com/lab/ 20081209.html Monday, March 23, 2009
    • 103. config/initializers/ locales.rb http://www.yotabanana.com/lab/ 20081209.html I18n.supported_locales = [quot;jaquot;, quot;enquot;] Monday, March 23, 2009
    • 104. config/initializers/ locales.rb http://www.yotabanana.com/lab/ 20081209.html I18n.supported_locales = [quot;jaquot;, quot;enquot;] Rails2.2 Monday, March 23, 2009
    • 105. Monday, March 23, 2009
    • 106. iPhone Monday, March 23, 2009
    • 107. iPhone TankEngine http://www.pathf.com/showcase/open-source- projects/tank-engine/ Monday, March 23, 2009
    • 108. iPhone TankEngine http://www.pathf.com/showcase/open-source- projects/tank-engine/ jRails Monday, March 23, 2009
    • 109. TankEngine install ./script/plugin install http://ennerchi.googlecode.com/ svn/trunk/plugins/jrails ./script/plugin install git://github.com/noelrappin/tank- engine.git rake tank_engine:install Monday, March 23, 2009
    • 110. TankEngine Form jQuery iPhone like OK Monday, March 23, 2009
    • 111. ApplicationController acts_as_iphone_controller class ApplicationController < ActionController::Base acts_as_iphone_controller . . . end Monday, March 23, 2009
    • 112. app/views/hello/index.iphone.erb Monday, March 23, 2009
    • 113. Monday, March 23, 2009
    • 114. index.html.erb index.iphone.erb index_ja.html.erb index_ja.iphone.erb Monday, March 23, 2009
    • 115. index.html.erb index.iphone.erb index_ja.html.erb index_ja.iphone.erb Monday, March 23, 2009
    • 116. <%= render :partial => ‘index’ %> index.html.erb _index.html.erb index.iphone.erb <%= render :partila => ‘index_ja’ %> index_ja.html.erb _index_ja.html.erb index_ja.iphone.erb Monday, March 23, 2009
    • 117. <%= render :partial => ‘menu’ %> <%= render :partial => ‘menu’ %> index.html.erb _menu.html.erb __menu.html.erb index.iphone.erb _menu.iphone.erb Monday, March 23, 2009
    • 118. <%= render :partial => ‘menu’ %> <%= render :partial => ‘menu’ %> index.html.erb _menu.html.erb __menu.html.erb index.iphone.erb _menu.iphone.erb Monday, March 23, 2009
    • 119. <%= render :partial => ‘menu’ %> <%= render :partial => ‘menu’ %> index.html.erb _menu.html.erb __menu.html.erb index.iphone.erb _menu.iphone.erb Monday, March 23, 2009
    • 120. <%= render :partial => ‘menu’ %> <%= render :partial => ‘menu’ %> index.html.erb _menu.html.erb __menu.html.erb index.iphone.erb _menu.iphone.erb - Monday, March 23, 2009
    • 121. OK Monday, March 23, 2009
    • 122. OK Monday, March 23, 2009
    • 123. OK Mac iPhone Monday, March 23, 2009
    • 124. OK Mac iPhone subdomain Monday, March 23, 2009
    • 125. OK Mac iPhone subdomain http://iphone.itosoft.com/ Monday, March 23, 2009
    • 126. subdomain subdomain class ApplicationController < ActionController::Base acts_as_iphone_controller :subdomain => 'ignore' # ignore # # nil iPhone . . . end Monday, March 23, 2009
    • 127. iPhone Monday, March 23, 2009
    • 128. iPhone Monday, March 23, 2009
    • 129. iPhone ?iphone_help= Monday, March 23, 2009
    • 130. iPhone ?iphone_help= Monday, March 23, 2009
    • 131. iPhone ?iphone_help= Monday, March 23, 2009
    • 132. iPhone ?iphone_help= Mechanize Monday, March 23, 2009
    • 133. iPhone ?iphone_help= Mechanize Nokogiri Monday, March 23, 2009
    • 134. iPhone docup.rb http:/ / / http:/ / http:/ / http:/ iPhone.itosoft. iPhone.itosoft. iPhone.itosoft. iPhone.itosoft. com/... com/... com/... com/... Monday, March 23, 2009
    • 135. Monday, March 23, 2009
    • 136. config/environment.rb config.i18n.default_locale = :ja config/initializers/locales.rb I18n.supported_locales = [quot;jaquot;] Monday, March 23, 2009
    • 137. Ruby-Locale for Ruby on Rails sudo gem install locale sudo gem install locale-rails config/environment.rb config.gem 'locale' config.gem 'locale_rails' Monday, March 23, 2009
    • 138. iPhone TankEngine ./script/plugin install http:/ / ennerchi.googlecode.com/svn/trunk/plugins/ jrails ./script/plugin install git://github.com/ noelrappin/tank-engine.git rake tank_engine:install ApplicationController acts_as_iphone_controller Monday, March 23, 2009
    • 139. Monday, March 23, 2009
    • 140. iPhone Monday, March 23, 2009
    • 141. iPhone Monday, March 23, 2009
    • 142. Monday, March 23, 2009

    ×