similar to: How to Globalize using variants of templates?

Displaying 20 results from an estimated 20000 matches similar to: "How to Globalize using variants of templates?"

2007 Feb 12
1
Invalid char problem
Has the problem with corrupted .rhtmls (invalid characters) been solved so far? I would like to use ferret and acts_as_ferret on Windows XP. I have installed 0.10.9 (mswin32) which still seems to have the problem. I am receiving error messages like: compile error C:/INSTAN~1.4P1/INSTAN~1/rails_apps/travelogue/config/../app/views/article_editor/_header_read.rhtml:2: parse error, unexpected
2012 Mar 20
1
Arabic wiki pages
Hello, My wiki username is SteveMustafa I kindly request permission to create new localized wiki pages in Arabic, landing page should be http://wiki.centos.org/ar Please be aware that there *might* be a need to create new templates since Arabic is an RTL language. Many thanks -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Apr 05
7
Regex for splitting string
Hi We have a search website where the user can type in individual words separated by spaces and/or phrases enclosed in single or double quotes. We are looking for a way to obtain a list of words and phrases from the search string. Can someone help? Thanks, Yash -- Posted via http://www.ruby-forum.com/.
2006 Mar 01
6
How to retrieve attributes from HABTM?
We have tables Users and Communities linked by has_an_belongs_to_many. The join table Communities_Users has additional fields [ is_active, is_blocked, join_date] etc. These are populated using @user.push_with_attributes(:is_active => true,...). Later on how do we update or retrieve the attributes in the link table for a given user or a community with doing it explicitly using SQL? Thanks,
2006 Feb 08
2
How to install RailsCron?
Hi, I would like to start running a background procedure once a user logs in to his account on the website. For this I am considering using the RailsCron object. However, I am not able to download it. I am new to Rails. Can someone give me the excat command I should use to get RailsCron? Can someone suggest a better way of running a procedure in the background? Thanks -Yash -- Posted via
2006 Feb 11
1
How to POST raw data?
Hi, I know that ActionController::AbstractRequest provides a raw_post method that reads the data that has been posted to the HTTP server as raw data. I am trying to create a rails application that POSTs raw XML data to a web page that reads raw data. I would like to know how to POST raw data to an HTTP server using Ruby on Rails. Can you help me with this? Thanks, Yash -- Posted via
2006 Feb 11
1
Instructions required for RailsCron
Hi, I am writing a client-server rails app. The client and server maintain similar databases. Periodically, I would like them to synchronize their databases. For this, in the application, once the user logs in, I want to spawn a background process at the client that first sends the client''s new data and then receives the server''s new data. I am thinking of using RailsCron for
2006 May 03
1
Globalize app example anywhere?
Hi! Is there anywhere tutorial how to create working application using globalize plugin? I need to create a site in 3 different languages and i was suggested to use globalize plugin. I''ve read a bit on globalize wiki page and pdf from the presentation available on the same page, but i still can''t figure out how to use it. 1. Can i translate names of models and columns
2007 Jan 17
5
[ActsAsFerret] Globalize integration
Hi, I''ve modified the latest acts_as_ferret code (version 0.3.0) to integrate with the Globalize (http://www.globalize-rails.org/globalize/) plugin. Essentially, I''ve added the ability to use a separate index per locale (It basically adds the language code as a suffix to the index and switches between indexes when the active locale changes). Since this introduces an optional
2006 Mar 30
1
What is the entry-point for a rails app?
Hi, I would like to run a DOS command such as "net send ..." when I start the rails application using script\server. Can you please tell me where I need to put the call? Is it environment.rb by any chance? -Yash -- Posted via http://www.ruby-forum.com/.
2006 Mar 22
1
How to go DRY?
We are creating a website for creating and maintaining communities. When members of a community are listed, we show their summary in a TABLE. So we have written a _member.rhtml partial to show this summary for that member. To show the memberlist we do render :partial => member, :collection => @members Now the problem is the row displayed for every member by the _member partial, may differ
2006 Apr 01
0
Using globalize and Net::HTTP.get
Today we did some cool stuff with globalize (the library) and Net::HTTP.get. I thought it was pretty awesome, but most people I talked to really didn''t think so, so I''ve come here to share my excitement on this list w/ ppl who''d understand :P Anyways, we took globalize and extended it so that websites were translated on the fly by Google Translate / Babelfish type
2006 Mar 11
0
Ruby-GetText-Package-1.3.0
Hi, Ruby-GetText-Package-1.3.0 is now available. Now ActiveRecord::Column.human_name values translate automaticaly. Changes for RoR --------------- * Improve Local::Object * POSIX, C convert to "en". * Enhance supports of Ruby on Rails. * ActionMailer localization support. * Use GetText function(_() N_() etc) in template. * ISO-2022-JP charset is used when language
2006 May 08
0
Globalize howto
Anybody who can help with a step by step howto in using globalize... I followed this example: http://globalize-rails.org/wiki/pages/example First I''ve created the database for use in my application: CREATE TABLE `products` ( `id` bigint(20) unsigned NOT NULL auto_increment, `name` varchar(12) NOT NULL default '''', `type`
2012 Mar 26
1
Arabic Wiki - resend because of bounce back
Hi, my name is Steve Mustafa, my username is SteveMustafa and I'd like the privilege to edit and translate the wiki into Arabic, http://wiki.centos.org/ar (does not exist). So I'm asking for the privilege to create and edit these pages as well as for the creation of a new RTL template for RTL languages including Arabic, Hebrew, Persian and Urdu. (like the subject says, this is a resend
2006 Jul 26
0
Globalize strategy for content ?
Hello, what are your strategy for using Globalize to translate sites with lot of full text ? I mean where do you translate your String ? I saw on the swen''s wiki (http://www.artweb-design.de/articles/2006/06/13/real-fun-get-on-rails-with-globalize-take-2), that you can use the locale:set_translation method: Locale.set_translation(''Welcome'',
2014 Jun 21
0
isohybrid has 2 variants
Hi, Ady: > Since both included variants are currently different, and both > variants have problems I am not aware of problems of the perl version. It is just lacking the newer features which support EFI/GPT and Mac/APM. The known bugs of isohybrid.c are with those newer features. http://www.syslinux.org/archives/2012-May/017843.html
2013 Jul 12
0
Wine release 1.6-rc5
The Wine development release 1.6-rc5 is now available. What's new in this release (see below for details): - Bug fixes only, we are in code freeze. The source is available from the following locations: http://prdownloads.sourceforge.net/wine/wine-1.6-rc5.tar.bz2 http://mirrors.ibiblio.org/wine/source/1.6/wine-1.6-rc5.tar.bz2 Binary packages for various distributions will be available
2005 Dec 06
1
globalize plugin question
Hi, I''d like to try and use the Globalize plugin, but I only need a subset of the features that plugin provides. I''d like to: - translate text in views - format date/time/numbers using different locales I won''t be using stuff like: Locale.set("en-US") prod = Product.find(1) prod.name -> "Meatballs" Locale.set("es-ES") prod =
2006 Feb 25
1
How to pre-populate Edit form in rails?
In our rails application, there is a model called Essay and another called Tag. Essay ''has_and_belongs_to_many'' tags. When a user CREATEs an essay, he gives the text in a text field which corresponds to a database column in the essays table. The _form.rhtml also provides a text area that lets the user tag the essay with keywords. The text area does not correspond directly to