Displaying 20 results from an estimated 500 matches similar to: "Implementing Globalize"
2006 Apr 20
2
Globalize : how to detect if a translated text is available ?
Hi all,
I was wondering how one can detect if a translated text is available
when using the globalize plugin.
If this is possible , then I would like to make the following :
For example, in your view you have :
<%@menu.each { | item | %>
<%=item.t%>
<%}%>
Now what I would like to happen is , when the menu item has no
translation available , and when a admin is logged in
2006 Apr 14
3
Updateform with a has_many relationship ?
Hello all,
I would like to be able to update the "amount" of a certain item in
me order list.
The problem I run into is how to define the text_field element.
@order is the current order, which has_many :order_item which in turn
belongs_to :order.
order_item has a field "amount" which should be modified...
What I tried is this below, but I get a undefined method
2006 Feb 06
2
Globalize plugin, now I have two classes with the same name
Hi, newbie here.
I''m using the Globalize plugin, which defines a model with the same
name as one of my existing models. We both use a model called
Country. The Globalize Country model (within vendors/...) is wrapped
in module like this...
module Globalize
class Country < ActiveRecord::Base
...
end
end
And this is my Country model (within app/models)...
class Country <
2006 Apr 04
1
Apache, SSL, Mongrel and File upload question...
Not sure, but this might have something to do with Net::HTTP being broken
in Ruby 1.8.4. See:
http://shnoo.gr/articles/2006/04/03/ruby-1-8-4-breaks-net-http
Josh
http://shnoo.gr
--- rails@lists.rubyonrails.org wrote:
But
now, alas, I try to upload a file. Attempting to upload a file gives me
a ''bad content body'' error at line 981 of cgi.rb, in the read_multipart method.
2005 Dec 21
10
Globalize plugin
Is there any working example on using the Globalize plugin?
It could help alot
Thanks in advance
--
Alexander Antonakakis
email: alexis-+Saq9+MPrF0@public.gmane.org
2006 Jan 23
7
Globalize - Wiki down, docs down, status?
Hi,
Currently the wiki entry for Globalize
http://wiki.rubyonrails.org/rails/pages/Globalize+Plugin
http://globalize.diluvia.net is down,
--
Posted via http://www.ruby-forum.com/.
2006 Mar 30
1
Globalize DB translate not working in Rails 1.1.0
It seems there have been some changes to ActiveRecord between Rails
1.1.0 RC and 1.10 Final that cause Globalize to fail; 1.10 RC was
working fine. When retrieving records from the DB only the base language
version is fetched, even when the locale has been set differently. The
SQL in the log confirms that Globalize is ignored and a regular find()
is performed.
2006 Feb 11
1
problem with globalize
Hi,
Somehow the date translation example in globalize doesn''t work for me.
Loading development environment.
>> Locale.set("es-ES")
=> #<Globalize::Locale:0x254df78 @code="es-ES", @language=nil, @country=nil>
>> Time.now.localize("%d %B %Y")
=> "11 February 2006"
>>
Any ideas??
Thanks!
Jeroen
2006 Feb 13
3
Multi language
Hello,
I''m pretty new to RoR, and I''m stuck on implementing multi language support
with RoR. I''m interested how do you handle this situation.
Does RoR have support for XSLT ?
Thanks in advance.
2006 Feb 23
3
Decimal comma instead of decimal point (i18n issue)
Hello,
What is the easiest way which enables usage of decimal comma "," instead
of decimal point (".") . I would like to force all RoR views to display
float numbers with comma instead of decimal point and also to allow
insertion of float numbers with comma in forms.
Thanks in advance,
Karel
--
Posted via http://www.ruby-forum.com/.
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
2005 Dec 24
2
Textilize on ajax update
I''m writing a basic to-do
application. I''m using a form_remote_tag to submit the entry to my
controller, which then returns the entry to be displayed in the table
of to-do items. However, I''d like to be able to "textilize" the entry
without having to reload the page. Is there any way to have my ajax
function textilize the text before displaying it in the list?
2007 Dec 19
2
undefined method `in_place_editor'
I''m trying to get Globalization to work using the globalize plugin.
In their sample application they use in_place_editor to edit the
translate strings.
<%= in_place_editor "tr_#{tr.id}",
:url => { :action => :set_translation_text, :id => tr.id },
:load_text_url => url_for({ :action => :translation_text, :id =>
tr.id })%>
</p>
I get the
2006 Jan 18
5
Perform action after in-place edit
I want to be able to call an action after performing an edit using the
in-place editor macro. I want to update multiple divs so I was
thinking about using an RJS template. However, I can''t figure out how
to trigger another action after the method created by
in_place_edit_for runs. Is there is an option on Ajax.InPlaceEditor
where I can inject some Element.update calls?
Thanks,
Shane
2006 Jul 22
10
Non English characters
Hi folks,
Does anyone know how to tackle Swedish letters in Rails. Am I
completely off track in thinking that it should be done using map or
regex in some clever way?
Bealach
2007 Feb 21
1
how to install globalize 1.2 in ROR
hi,
can any one tell how to install globalize 1.2 in raby on rails step by
step as soon as possible
--
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 to
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
2008 May 31
2
Exec format error during globalize plugin install
While trying to install the globalize plugin (website down? --
http://www.globalize-rails.org/globalize/) for Rails, all the files
seem to be transferred and placed properly, but I get the following
error when install.rb attempts to run:
Exec format error - rake -f C:/clients/MyClient/code/vendor/plugins/
globalize/../../../Rakefile globalize:upgrade_schema_to_1_dot_2 &&
exit 1
I see
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 Jan 12
2
in-place editing with validation
is there a good in-place editing solution with rails that does validation
too ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060112/273fad3e/attachment.html