search for: mutoh

Displaying 20 results from an estimated 38 matches for "mutoh".

Did you mean: muth
2005 Aug 10
24
Multilingual Rails v0.5. Big update!
Multilingual Rails v0.5 is just released with lots of new features. Here is the changelog: v0.5: New charset conversion string-methods. Multilingual Rails always use UTF-8 internally. iconv_to(charset) # Return string as charset iconv_from(charset) # Return string as UTF-8, converted from charset iconv_from!(charset) # Convert string from charset to UTF-8
2006 Jan 30
5
a RJS problem/patch
...Type''] ||= ''text/javascript''\n" + + "@controller.headers[''Content-Type''] = ''text/javascript''\n" + "update_page do |page|\n#{template}\nend" end else -- .:% Masao Mutoh<mutoh@highway.ne.jp>
2006 Jul 06
6
Problem with gettext and functional tests
Hi, I am using gettext to let my web application know several languages. All works fine, but since I integrated it, my functional tests don''t work any more. I keep getting the error message: NoMethodError: undefined method `cgi'' for #<ActionController::TestRequest:0xb77f7f88>. All right, TestRequest doesn''t have a cgi method. Therefore I just included this into
2006 May 30
2
Wrong Content-type in RJS with Gettext
Hello, I am developing an application using Rails and doing l10n with ruby-gettext. When I deploy the app on lighttpd, every rjs template is rendered with Content-type: text/html; charset: UTF-8. I believe it comes from 85th line of rails.rb script in ruby-gettext lib. RJS templates are not executed in this situation. Hovewer, when I run the app with Webrick, rjs templates are rendered with:
2005 Dec 29
5
Ruby-GetText-Package-1.1.0
...Improved the sample application on RoR. See: samples/rails/*. * New/Updated translations: Czech - Karel Miarka (NEW) Dutch - Menno Jonkers (NEW) French - Laurent Sansonetti German - Sasa Ebach Japanese - Masao Mutoh Korean - Gyoung-Yoon Noh Portuguese(Brazil) - Joao Pedrosa Spanish - David Espada * bugfixes. Website ------- http://rubyforge.org/projects/gettext/ * Download http://rubyforge.org/frs/?group_id=855&release_id=2856 * Ruby-GetText-Package HOWTOs http:...
2006 Jan 11
8
GetText: Works with en_GB and en_US, but doesn''t with de_DE!
Hi all I''m trying to get GetText to work. I have the following folder structure: |-myapp.pot |-de_DE/: | `-myapp.po |-en_GB/: | `-myapp.po |-en_US/: ` `-myapp.po I run rake updatepo, and then rake makemo. Now I set en-gb as default language in Firefox and run my app >> works! Then I set en-us as default language in Firefox and run my app >> works,
2006 Jan 15
15
Gettext and Rails ?
Hello, I''m trying to use ruby-gettext 1.1.1 (installed with gem) with rails and here is all I get : undefined method `init_gettext'' for ApplicationController:Class Here is my source : require ''gettext/rails'' class ApplicationController < ActionController::Base init_gettext "test" end As a Nuby, I don''t really know what to do.
2006 Jul 07
2
Problem with GetText 1.6.0 - undefined method ''N_''
I''m just upgraded GetText from 1.4.0 to 1.6.0, and all my tests got broken. I got this error: ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/base.rb:1129:in `method_missing'': undefined method `N_'' for User:Class (NoMethodError) etc My model user.rb has this line: validates_format_of :login, :with => /^[a-zA-Z0-9_]+$/, :message =>
2006 Jun 22
2
GetText Question: How not to gather ActiveRecord''s columns?
Hi, Rake''s ''updatepo'' task[1] suggested by Masao(Ruby-GetText maintainer) gather whole model''s columns. I don''t need to translate those column names. So I''d like to give translators the po files without such needless messages. However I wouldn''t like to exclude ''app/models'', because of some useful gettext-ized
2009 Apr 18
0
gettext-2.0.1, gettext_activerecord-2.0.1, gettext_rails-2.0.1
...39;'t supported. Thanks to ------- OZAWA Sakuro, Tietew, Dan Coutu, Adam Ilan, Mamoru Tasaka, Mathieu Blondel, Simone Carletti Website ------- * homepage http://www.yotabanana.com/hiki/ruby-gettext.html * rubyforge http://rubyforge.org/projects/gettext * github http://github.com/mutoh/gettext/tree/master http://github.com/mutoh/gettext_activerecord/tree/master http://github.com/mutoh/gettext_rails/tree/master * Download http://rubyforge.org/frs/?group_id=1997&release_id=32471 * Ruby-GetText-Package HOWTOs http://www.yotabanana.com/hiki/ruby-gettext-howto.html * Rub...
2009 May 06
0
gettext-2.0.2, gettext_activerecord-2.0.2, gettext_rails-2.0.2
...1 and earlier aren''t supported. Thanks to ------- hallelujah, Sava Chankov, OZAWA Sakuro, Vladimir Dobriakov, Bart ten Brinke Website ------- * homepage http://www.yotabanana.com/hiki/ruby-gettext.html * rubyforge http://rubyforge.org/projects/gettext * github http://github.com/mutoh/gettext/tree/master http://github.com/mutoh/gettext_activerecord/tree/master http://github.com/mutoh/gettext_rails/tree/master * Download http://rubyforge.org/frs/?group_id=1997&release_id=32471 * Ruby-GetText-Package HOWTOs http://www.yotabanana.com/hiki/ruby-gettext-howto.html * Rub...
2005 Aug 13
9
Multilingual Rails v0.6
Multilingual Rails v0.6 is released! Here is the changelog. Documentation and download at the homepage: http://www.tuxsoft.se/oss/rails/multilingual v0.6 - 2005-08-13 * String case-manipulation functions replaced with ruby-unicode equivalents (if ruby-unicode is installed): String#downcase, String#upcase and String#capitalize now fully handle Unicode. * String normalization
2006 Jan 30
8
Translating a validtion flash
I''m a belgian Rails user (Dutch is my native language). I wondered if it is possible to translate error messages (generated by validators). I know how to create my own error messages: def method content rescue logger.error(...) flash[:notice] = ''My own error message" redirect_to(...) But where can I find the validator''s .rb files, so I can change them?
2006 May 08
2
How to set the default language in GetText?
How to set the default language in GetText? The default language of GetText is en,and I want to change it to another language,and also keep the ability to change to any other languages by just click the according href. Currently I use: class ApplicationController < ActionController::Base before_filter :set_charset def set_charset @headers["Content-Type"] = "text/html;
2006 May 02
16
no one cares about i18n (was [OT]: Asking questions on this list)
Do most others in the community agree with this statement? It seems to me that i18n is: 1. Actually important to many people 2. Not really the difficult to implement in concept 3. Something that people like to point out about Rails to say it''s not ready foir "Enterprise" It seems to be that a big part of Rails is encouraging people to do things the "Right Way",
2005 Nov 07
9
Using Gettext To Translate Your Rails Application
Hi, Has anyone has any success using the gettext translation methods mentioned in this wiki page? http://manuals.rubyonrails.com/read/chapter/105 I got up to running the localize script at which point it protests about not being able to find ''gettext/rgettext'' from the require line at the top of the script: script/localize:8:in `require'': no such file to load --
2006 May 09
5
How to use gettext in plugins?
I use rails-engine as a plugin of the application and I want to localize the validate message from the plugin: validates_length_of :login, :within => 3..40, :on => :create, :message => N_("%{fn} is too short (min is %d characters)") It can not display the according language,where should i set it? I have tried to add require ''gettext/rails''
2006 Aug 11
2
gettext problem
Hi, I''m a newbie to rails and find the framework very well designed. However, I have to develop for the French and Belgian market, wich means the primary language is french and sometimes need i18n. I started to evaluate ruby-gettext, as it allows me to translate rails validation errors, including model and attribute names. I follow the tutorial at
2006 Mar 08
2
Multilingual Validation Messages
Hi all, I have a mutilingual app and want to customize the validation error messasges. I cannot override them as I need them in more than one language, so I have done the following: validates_presence_of :some_attr, :message => _(''should not be blank'') I am using gettext to translate the message. This works in development mode, but not in production, even after a
2006 Jan 14
0
Ruby-GetText-Package-1.1.1
...p_id=855 Join us if you are interested in: * Improve Ruby-GetText-Package. * Translators. * Application/library owners who think to make your apps/libs L10n. If you send us your po-files, we''ll translate it! # At least, a Japanese translator is available ;). Regards, -- .:% Masao Mutoh<mutoh@highway.ne.jp>