Displaying 20 results from an estimated 800 matches similar to: "Localize validate_error messages"
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?
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
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 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
2003 Dec 03
2
New Multilingual DIAX (0.9.5) available for download
Hi all,
The new multilingual version of DIAX (0.9.5) is now available for:
- English
- Romanian
- German
- Dutch
- Italian
- French
- Spanish
- Portuguese
at the following locations:
http://www.laser.com/dante
http://www.geocities.com/tdanro
What's new in 0.9.5 :
- double support(IAX(1)/IAX2)
- Multilanguage support: English, Romanian, German, Dutch, Italian, French,
Spanish, Portuguese(for
2003 Dec 02
2
Multilingual version of DIAX
Hi all,
The multilingual version of DIAX with both IAX and IAX2 support will be
available for download later today or tommorrow.
If someone interested to help me traslate from English to one of the
following languages (ant not oly) please drop me a direct mail.
- italian
- spanish
- french
- portuguese
In this moment the following are done:
- english
- romanian
- german
- dutch
If this can be
2005 Dec 21
2
Missing error page templates
Whenever I get any errors on my application, I don''t get the regular
rails error page with all the debugging information. What could''ve
cause this? This is from the logs:
ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template
found for /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/template_error.rhtml):
2002 Feb 03
2
WinVC - Multiple file tag editor!
> Source? :)
It's in Delphi 5. I will make the source code available when I'm happy with
it, if anyone wants it.
> I havn't used it yet, but you might find these screenshots helpful for
> an interface:
Initially I've designed the interface for the 95% of users who just want
something very simple and can see the tags they are interested in on one
form. I may add an
2009 Jan 13
2
Using has_selector to identify responses.
This is more of a "best practices" question.
Earlier, when I was trying to understand what it was I was supposed to
be testing with cucumber, I was advised that I should test for text
elements contained in the response body of the expected output. Now,
what I am wondering is how one accounts for multilingual implementation.
I have hit upon the idea of simply adding special css id
2003 Oct 09
3
Sasquatch, the Loch Ness Monster, UFOs and...
Mythical Asterisk Creatures, oft-discussed, rarely seen:
1) An "advanced" graphical user interface
2) An IAX2 hardware device
3) A Radius CDR report module
4) A live-method, robust SQL-based dialplan
5) LDAP/SQL/Radius authentication for SIP phones
6) Robust R2 signalling support
7) Multilingual language recordings of all existing * .gsm files
8) Free exchange of PSTN gateways in
2007 Jan 19
1
Trouble with Rails/Ri18n
Hi,
I am new to Ruby/Rails but totally fall in love with :D
Nonetheless, today I am totally stuck with Ri18n. I basically followed
the 10 Steps to Make Your Rails Apps Multilingual. No errors are
thrown,
the english version works as before with the freshly added <%= _('''') %>
Still, no translations are performed. Setting I18nService.instance.lang
= ''de''
2006 Jul 09
1
language support
Hi All,
I am new on rails and making my first application on rails. My client
wants to have his site supporting two languages english and french.
Please let me know how to implement multilingual support in rails?
Thanks
Rohan
--
Posted via http://www.ruby-forum.com/.
2003 Apr 26
2
German voicemail prompts, anybody?
Hi all,
I'm trying to build a little voicemail server based on asterisk here,
using Asterisk's "Commedian Mail" application. Unfortunately, I'd expect
some people to have trouble using the English prompts that come with
asterisk.
However, I can't imagine I'm the first person who has this problem, and
Commedian Mail seems to support multilingual prompts fine, it's
2005 Dec 20
3
File Column Directory Add another layer
Quick Question. I understand how to change the default path to
something other than public but what if I wanted to add another
directory into the equation. I want to upload an image into the
following structure:
/public/image/userid/imageid/test.gif
So basically I want to look up the userid in my users table and put
all the images for that user in the same directory. So i have a one
2006 Jan 10
3
Getting a user from a model (sort of a noob) (resend sorry)
Sorry for the resend but I am not sure if the first one ever made the
list.
As mentioned in my previous posts I''m trying to create a dynamic
directory for file_folumn. After finding out that I didn''t have the
most recent version I installed the latest trunk and am able to get
file_column to act as it should. However I have been racking my brain
on how to implement
2006 Feb 06
5
Sentry Plugin - Easy Question I don''t doubt
I am looking at adding the Sentry plugin to one of the applications
that we are working on. I have a need to store some info that will
have to be encrypted and decrypted. I have been going through the
docs for the plugin and the AsymetricSentry class looks like the best
for what we need to do but I am not sure how to generate the key. The
docs say:
This is a shortcut for using an
2005 Nov 18
6
wrong number of arguments (2 for 1) error message help
All,
This is really starting to get me as i can''t figure out why I am
getting this error. Here is what is going on. I have a table called
items and a item controller. When I add a new item to the items table
I am also creating several associated tables. the code for this so
that you can follow along is:
def create
@item = Item.new(params[:item])
# The item belongs to
2006 Apr 01
15
Ruby on Rails CMS released. Web 2.0, Ajax, etc
Eribium, a content managing system built with rails has been released
completely free under the MIT License.
http://www.eribium.org/eribium/?p=21
You can find a demo here: http://alexmaccaw.no-ip.info:3000/admin
(user and pass are ''demo'').
Some of the features include:
* Completely Unobtrusive Javascript.
* Liquid View, works with pretty much any screen resolution.
2006 Apr 12
3
Capistrano Issues
Well I finnally bit the bullet and upgrade to capistrano and have run
into several issues that I can''t seem to find a fix for. Switchtower
worked perfectly but I can not get cap to work especially with the
change to the command to run a deploy.
The following code worked fine in switchtower to deploy:
switchtower -vvvv -S stage=stage -r config/deploy -a deploy
The stage variable
2006 Feb 08
5
Regular Expression Question
I have looked through the Ruby Pickaxe book as well as done a search
but can''t figure out how to validate the format of a field. The field
I want to validate is a credit card expiration date field. Based on
our user study (going around the office and asking everyone the way
they like to fill out that particular field type) everyone prefers
the following format in one field: