similar to: Where to put localization strings

Displaying 20 results from an estimated 100 matches similar to: "Where to put localization strings"

2006 Apr 27
6
Why not mod_ruby?
Hi! I''ve understood that the mod_ruby apache module is not recommended for running Ruby on Rails applications. But I haven''t found any information as to why that is so. Please enlighten me. And could you point me to the (currently) prefered production environment. (That can handle both RoR and PHP sites). Thank you and best regards Hans-Eric Gr?nlund -- Posted via
2006 Apr 19
5
Swedish characters problem
Hello, I''m playing around with Rails and I''m having problems with displaying swedish characters. This is how far I''ve gotten: I have a controller... class MiscController < ApplicationController def swedish_chars @chars_to_display = ''???'' end end ...and a template (swedish_chars.rhtml) <head> <title>Test with swedish
2015 May 28
3
S4 inheritance and old class
Hey everyone, I would like to develop a package using S4 classes. I have to define several S4 classes that inherits from each others as follow: # A <- B <- C <- D I also would like to define .DollarNames methods for these class so, if I have understood well, I also have to define an old class as follow: # AOld <- A <- B <- C <- D setOldClass(Classes = "AOld")
2006 Mar 21
1
Valitation only on one page?
Hello there, I have a "user" object essentially that contains address information that gets stored in the database. The user can sign up and go through the whole page before he needs to enter that information which is associated with a billing process. Without having to write some odd validation based on the request_uri and passing it to a custom validation method is there any way
2015 May 28
0
S4 inheritance and old class
On 05/28/2015 02:49 AM, Julien Id? wrote: > Hey everyone, > > I would like to develop a package using S4 classes. > I have to define several S4 classes that inherits from each others as > follow: > > # A <- B <- C <- D > > I also would like to define .DollarNames methods for these class so, if I > have understood well, I also have to define an old class as
2009 Oct 07
3
graphics
Dear Sir, I am using the following cos which creates a 3 panel figure on one image. However the legend function i am using only allows the legend to be placed within the axes of one of the graphs. The plots however do not allow for a logend to be places within the axes do to the location of points on the graph. I can add the legend later using imaging software such as paint but i lose
2009 Jun 18
2
Hatched symbols
Hello, I would like to build rectangles in a plot and use color and different type of hatching for filling rectangles. I don't find the way to draw hatchings. I'm thinking to build segment by segment inside each rectangle but I'm sure that exists a better way to do that. I didn't find any documentation about that. > symbols(1,1,rectangles=cbind(1,1),bg="red", ...
2010 Feb 09
1
Missing interaction effect in binomial GLMM with lmer
Dear all, I was wondering if anyone could help solve a problem of a missing interaction effect!! I carried out a 2 x 2 factorial experiment to see if eggs from 2 different locations (Origin = 1 or 2) had different hatching success under 2 different incubation schedules (Treat = 1 or 2). Six eggs were taken from 10 females (random = Female) at each location and split between the treatments,
2006 Aug 13
0
Announcement: Really simple localization plugin
I needed something simpler than Globalize and GLoc to localize my Rails application into Danish. I packed it into this plugin. Feel free to use it. Languages available: Spanish, German, Swedish, Danish, and ("Swedish Chef" for the fun of it) Plugin available at http://visitjesper.homeip.net/plugins/ IMPORTANT: Plugin directory likely to move to more appropriate location anytime The
2006 Jun 15
0
Localization of the date_select -helper
I could use some help with translating month names for the date_select helper using gettext. Think my best bet would be to override the ActionView::Helpers::DateHelper.select_month method once gettext is initialized, which is done by a before_filter in ApplicationContext, but have no idea how I would go about that. Any suggestions appreciated, Isak
2006 May 11
1
Localization (again) a la Thomas Fuchs
Has anyone had any success adapting The Localization plugin in order for the language to be selected based on a user''s account (i.e:session)? -- Posted via http://www.ruby-forum.com/.
2006 May 27
1
Localization of Helper Tags
I''m using the Localization plugin and I''m having trouble figuring out how to localize the values of a helper tag. For instance, how do I get Localization to work on this tag? <%= submit_tag ''Stuff in English'' %> I assumed it would be <%=_ submit_tag ''Stuff in English'' %> But that doesn''t work. I''ve tried a
2006 Jan 11
0
Localization in SH Login Generator
Hi, Does anyone use Localization as described in SHLoginGenerator for multi-lingual apps? I''ve been trying to figure out how to implement it but with little success. In the README it says: "In the environments/localization_environment file, set the configuration variable :default_language to either ''en'' or ''sp.'' That''s it!" But
2006 Jan 13
0
Opinions requested on localization strategy
All, Our application will require initially English and Spanish user interfaces. There may be little or no database data that must be translated, but that is a bit up in the air. The UI instructional text as well as error messages will definately require translation. I have looked at the gettext article, the new globalization plugin, and the localization plugin. Each appears to have some
2008 Nov 28
0
regarding localization
Im trying to implement localization language options with drop- down menu button... here my html code..... <form action=" " > <select id="category" style="width:226px" onChange="startRequest();"> <option value="0">Select a language</option> <%@lang_view.each do|key,value|%>
2007 Sep 18
0
distance_of_time_in_words hardcoded strings should be separated for easier localization
Hi everybody. After DHHs talk at RailsConf yesterday, it''s essential that some of you can rectify this patch for ruby on Rails Please help me an have a look at http://dev.rubyonrails.org/ticket/9587 Thanks! Jesper Rønn-Jensen blog: www.justaddwater.dk ===== ActiveRecord::Errors has a placeholder (@@default_error_messages) for messages that can be overridden. Just the same way, the
2008 Aug 23
1
Simple localization in Rails 2.2
Does it works in Rails 2.1? http://almosteffortless.com/2008/07/21/simple-localization-in-rails-22/ If not, where I can get Rails 2.2 BETA to test this? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email
2010 Jan 05
1
Re: How to achieve Japanese localization on Mac OSX?
I see. That wont be possible then since I'm using the Darwine (Wine.app) binary. I wonder if I can edit something in the package to change this environment variables and make it permanent.
2008 May 30
0
Template localization
Hello, I''m writing an app that needs a simple localization system. I thought it would be enough to have localized templates (like rendering show.en.html.haml when the requested action is show and the current locale is set to en) without all the complex features that i18n plugins have. Since I was unable to find a plugin that works on edge I decided to write some code on my own. I think
2005 Jul 04
1
Localization problems with leeding html escaped ÅÄÖ
Hi All. When translating a string to in swedish, using HTML codes for å,ä,ö i have a minor problem. Eg: (se.yaml) ui_core_over: &Ouml;ver All I get when calling l(''ui_core_over'') in my view is "Ouml;ver" The leeding & is missing, making the page look silly. The HTML characters works fine as long as it''s not used as the first letter in the string.