Displaying 20 results from an estimated 4000 matches similar to: "L18n help"
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 Jan 04
2
noob help
I am writing an app with i18n , so my main.rhtml has this option
<%= start_form_tag :action => ''lang_hi'' %>
<%= select "Lang","language",[''Telugu'',''Hindi'']%>
<%= submit_tag "Go" %>
<%= end_form_tag %>
the above way i am able to call only one action , is there a way i can
call any
2006 Jan 10
1
Validating Umlauts
Hi there,
I''m building a rails application for German and English speakers.
However, I''m having some problems validating German-specific characters
(????). I have a tag-model which validates format of :name, :with =>
/^\w+$/. This throws an exception if german characters are used. My
tables are all utf-8 and my environment.rb has the lines
$KCODE = ''u''
2007 Apr 29
1
Chinese full-text support! Still fail-_-
Hi all,
I want to use ferrent in my website but when i input chinese words, i
have the same symptom like Chengcai. In order to fix it, i have reviewed
all the topics about chinese support in our forum and tried all the way
your guys suggested but still made any progress. i downloaded the latest
version of ferret from svn.
Thanks and regards.
captain
Chengcai He wrote:
> Hello everyone!
2006 Jul 11
0
malformed utf-8 character error
Hi,
I am using ajax scaffold generator with charset=iso-8859-9(Turkish)...
Edit & Create buttons work correctly when there is no turkish chars in the current record. But, if there are turkish chars in any of the fields in the current row, buttons don''t work... (loading indicator simply spinning forever...)
I put the KCODE=''u'' line in
2007 May 23
1
Memory Leak When Searching For Multilingual Keyword(s)
On Windows XP, I played the AAF demo
(svn://projects.jkraemer.net/acts_as_ferret/trunk/demo) that works
nicely with English content. However, if the keyword is non-English (no
matter whether there is any content in db), the server immediately
causes memory leak over 1GB and stops responding. The languages I tried
include:
French (utf-8)
German (utf-8)
Spanish (utf-8)
Chinese (utf-8)
Japanese
2006 May 19
1
database.yml and encoding: utf8 -> mysql error
I have Rails 1.1, MySql 5.0 and would like to stor text as utf8 in the
db.
I have changed the character set and collation in the db to utf8 and
utf8_danish_ci - also checked the mysql to if its ok:
show collations like "%danish%";
utf8_danish_ci utf8 203 Yes 8
I then add the following
environment.rb:
$KCODE = ''u''
require ''jcode''
och database.yml
2005 Dec 09
1
utf-8 BIG problems
hey,
------------------
i have change my db to utf8-general-ci, now all the characters are correct in
the database, i need this for exporting to pdf en excel. now i can also import
from csv, characters like éàï....
But the display is then fucked up. i get wierd symbols
-------------------
Another situation:
I have seen a post here to add to environment.rb:
$KCODE = ''UTF8''
2009 Oct 29
0
l18n errors
Hi everybody,
I followed the instructions on http://guides.rubyonrails.org/i18n.html
exspesly point 2.2 and I couldn''t get it to work properly. After I
decided to disable it, my whole application crashed and no View or
Controller is working. Any suggestions on this error?
syntax error on line 140, col 13: ` H� 4� �
The snippet at the bottom is the last call on the stack.
2006 Feb 05
2
working with rails and unicode
I''m trying to get basic unicode support working using the "Iteration
A1" sample application from the "Agile Web Development With Rails"
book.
Following the "HowToUseUnicodeStrings" wiki document, I have made the
following changes:
config/environment.rb:
# Include your application configuration below
$KCODE = ''u''
require
2006 Mar 21
2
How do I get substring of utf-8 string?
I''m trying to get substring from a utf-8 encoded string. (say, first
50 characters of the string) String#[0..49] would give me the first
50 bytes not 50 characters..
I know there is jcode library, but it only let you count number of
characters in utf-8 string.
unicode gem doesn''t seem to help much. unicode_hacks gem seem to
solve the problem, but it also seems to
2012 Aug 29
0
CEBA-2012:1212 CentOS 6 lohit-telugu-fonts FASTTRACK Update
CentOS Errata and Bugfix Advisory 2012:1212
Upstream details at : https://rhn.redhat.com/errata/RHBA-2012-1212.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
i386:
6eb54d5900f64ea70be28924a8ecc360e4e533315eb766b54d4cc53b349d4986 lohit-telugu-fonts-2.4.5-6.el6.noarch.rpm
x86_64:
2005 Mar 16
1
Re: Unicode support
How about this: we expose the known conversions of wxMBConv to wxruby
global methods. Then we create a $WXSTRING_TO_RUBY and $RUBY_TO_WXSTRING
globals that has a reference to those procs. In the ruby-string to
wxString typemap, we use ruby to invoke $WXSTRING_TO_RUBY and
$RUBY_TO_WXSTRING. That way, if people want a different method, they can
write one (even a pure-ruby one) that changes the
2010 Sep 23
2
rspec runner setting $KCODE considered harmful?
I ran across a problem today in which some code ran fine in regular
operation but failed in a test case. I scratched my head and thought "why
would running from within the test harness change the behavior of my code?"
Clearly it was the Heisenberg uncertainty principle in action! :)
I discovered the root cause was that the rspec runner is setting the magical
ruby global, $KCODE, to
2006 Jan 05
1
unicode hacks - fixes for webrick and Safari
Hello!
First, thank you Julian for the useful plugin ''unicode_hacks'' <
http://julik.textdriven.com/svn/tools/rails_plugins/unicode_hacks/>.
I have found some problems running my app in development on Webrick
and looking at it with Safari (MacOS X 10.4.3, Safari 2.0.2). Some
files are sent with different sizes (e.g. default css example, or
controls.js ), and it
2005 Aug 28
7
Unicode support in FXRuby 1.6
All,
As some of you know, Jeroen has added support for Unicode strings in
the unstable development version of FOX (version 1.5). I''m trying to
plan ahead to decide how best to support this for FXRuby 1.6, but I
don''t really know anything about Ruby''s support for Unicode or i18n in
general. If you''re familiar with this topic (how/if Ruby deals with
Unicode
2012 Aug 29
0
CentOS-announce Digest, Vol 90, Issue 17
Send CentOS-announce mailing list submissions to
centos-announce at centos.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-request at centos.org
You can reach the person managing the list at
centos-announce-owner at centos.org
When
2005 Apr 26
10
Cannot force WeBRICK into submission (UTF-8)
Hello everyone!
Pushing my new rails project I stumbled upon some weird problem.
I cannot force WeBRICK to show me my MySQL records in UTF-8. All I
recieve into the object (instead of russian letters) are question marks
(a la ?????? style). I am running MySQL 4.1 (the one with switchable
charsets) and a binary Ruby extension for it, all on OSX.
To me it looks like MySQL never recieves what I
2006 Nov 14
2
umlauts problem...
Hi,
I have a MSSQL db server which I am accessing from RoR. But
the database has a table T with a field name ("Hölle") consisting
of umlauts :( how to access this field??
Thanks,
Ram
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on
2008 May 06
1
Problem with ActionWebService and UTF-8 encoding
Hello,
I have a Rails App which serve a Soap Web Service with ActionWebService.
I accept 2 string parameters that must contain xml.
The data sent are in UTF-8, but the non-ascii char (é, à ...) in the message
are crippled at the end.
I tested the app, database, html, ... all accept utf-8, a direct http post
works well, but going through the web service broke the content.
I tried to manually set