similar to: Translating a validtion flash

Displaying 20 results from an estimated 1000 matches similar to: "Translating a validtion flash"

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",
2006 Feb 27
4
Belgian Ruby on Rails Site
Hello, I recently started http://www.onrails.be Onrails.be is a Belgian Ruby on Rails site (in Dutch). At the moment however, the site is powered by Textpattern (PHP CMS). I already knew that, and I''m just getting to know Rails myself. If some Dutch people visit this forum: //message is written in Dutch from this point -> Wat vinden jullie ervan? Is de content goed? Zijn de
2006 May 08
4
Gettext not worked in firefox,but done well under IE
Anyone who has met such a kind of problem? I am adding i18n characteristics to my webapp using gettext,it works under IE,while not under firefox. here is my codes: po: po\zh_CN\myapp.po after rake makemo, i have got: locale\zh_CN\LC_MESSAGES\myapp.mo require ''gettext/rails'' class ApplicationController < ActionController::Base init_gettext "myapp" end Then I use
2006 May 03
6
ruby on rails international & BIRT integration?
Hello, I see, that Rails is quite english-centric. I am developing some webs, that are not primarily in English. I have a few questions: - besides turning of plurals, what should I take care? How to use utf-8 for all data and converting it from local charsets to utf-8? - how do I make my page multilingual (i.e. adding english support later)? Is there something like gettext support? Is
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 May 11
2
Making my site multi-lingual
Hi, I''m wondering how I should go about making my website multi-lingual. Basically, there will be different content for the different languages, and that''s not really a problem... all I need to do is give each content entry in the database a language_id. But the problem is with the non-content text, eg, "In order to access this area, you must be logged in",
2005 Dec 29
5
Ruby-GetText-Package-1.1.0
Hi, Ruby-GetText-Package-1.1.0 is now available. This release enhances many features for Ruby on Rails. I hope this release make your Application support L10n. And thanks for many helps! Highlights ---------- * Added some functions which managed po/mo files easily. * GetText.update_pofiles creates/updates pot/po files. The idea is from Sascha Ebach. * String% is extended to accept
2006 Aug 09
6
How to change the error message easy way
validates_presence_of :fname results in the error message "Fname can''t be blank". What I want is "First Name can''t be blank". I could do this def validate errors.add_to_base("First Name can''t be blank") if fname.blank? end I find this clunky and I have to put everyrhing in the validate method. Is there an easy to get what I want. I
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 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
2010 Feb 23
12
"no such file to load -- gettext/rails" error
I get the error below when I try to start my server. Here are the versions installed: OS: Windows Server 2008 Ruby: 1.8.7 Gems: actionmailer (2.3.5, 1.3.5) actionpack (2.3.5, 1.13.5) actionwebservice (1.2.5) activerecord (2.3.5, 1.15.5) activeresource (2.3.5) activesupport (2.3.5, 1.4.4) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) gem_plugin
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 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:
2006 Jan 30
5
a RJS problem/patch
Hi, add_rjs_to_action_view.rb of javascript_generator_templates doesn''t work with setting Content-Type in a controller. (e.g.) http://wiki.rubyonrails.org/rails/pages/HowtoSetDefaultEncoding class ApplicationController < ActionController::Base before_filter :set_charset def set_charset @headers["Content-Type"] = "text/html; charset=utf-8" end end I
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 =>
2009 May 06
0
gettext-2.0.2, gettext_activerecord-2.0.2, gettext_rails-2.0.2
Hi, Ruby-GetText-Package-2.0.2 and the families (gettext-2.0.2, gettext_activerecord-2.0.2 and gettext_rails-2.0.2) are now available. Ruby-GetText-Package is the library/tools for message localization. * gettext - Message localization libraries and tools for all kind of apps/libs. * gettext_activerecord - ActiveRecord Localization * gettext_rails - Rails support with gettext. Changes
2009 Apr 18
0
gettext-2.0.1, gettext_activerecord-2.0.1, gettext_rails-2.0.1
Hi, Ruby-GetText-Package-2.0.1 and the families (gettext-2.0.1, gettext_activerecord-2.0.1 and gettext_rails-2.0.1) are now available. Ruby-GetText-Package is the library/tools for message localization. * gettext - Message localization libraries and tools for all kind of apps/libs. * gettext_activerecord - ActiveRecord Localization * gettext_rails - Rails support with gettext. Changes
2003 Sep 05
3
Dotchart question
Sorry to keep asking elementary questions......I appreciate the help. I am trying to create a dotchart with the rows sorted according to the values, rather than the labels. When I try prof <- c('Accountant', 'Administrative assistant', 'Garment worker', 'Cook', 'Dentist', 'General practictioner', 'Graduate student', 'High level