Displaying 20 results from an estimated 6000 matches similar to: "Globalize: how to set a space in thousands_sep"
2006 Jun 05
0
Failed to install Globalize plugin
My envrionment is Rails 1.1.2, Ruby 1.8.4, MySQL 5.0.21 on WinXP. When I
run ''rake migrate'' after pulling the lastest 1.1 branch of Globalize
plugin, I get the following error message:
(in C:/Rails/Application/medicalmind)
== GlobalizeMigration: migrating
==============================================
-- create_table(:globalize_countries, {:force=>true})
-> 0.2110s
2006 Jan 27
4
plugin install behind corporate firewall?
Hi all,
Anybody has a clue on how to install a plugin behind a corporate firewall? I
know the "-p" option works for installing a ruby gem thru a proxy, but it
doesn''t seem to work for script/plugin install
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2016 Jan 20
4
[3.8 Release] RC1 has been tagged
On 20 Jan 2016, at 18:23, Hans Wennborg <hans at chromium.org> wrote:
>
> On Wed, Jan 20, 2016 at 5:25 AM, Dimitry Andric <dimitry at andric.com> wrote:
>> Unfortunately I'm having lots of trouble with rc1 at this point:
>> * libcxxabi can't build, because it requires unwind.h, which we do not yet have on FreeBSD 10.x (Ed Maste is working on it for 11.x, but
2006 Apr 13
0
Globalize not with Rails 1.1.2
Does anybody have the latest Globalize (r184) working with Rails 1.1.2?
I can''t seem to get a very simple example to work:
-----
ruby test/unit/news_item_test.rb
Loaded suite test/unit/news_item_test
Started
F.
Finished in 0.10109 seconds.
1) Failure:
test_add_content_translations(NewsItemTest)
[test/unit/news_item_test.rb:49]:
<"US Title"> expected but was
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`
2007 Feb 08
0
trying to install GLOBALIZE
I''m having problems installing the Globalize plugin
(http://www.globalize-rails.org/globalize/)
When I write this:
D:\Rails\myapp>ruby script/plugin install
svn://svn.globalize-rails.org/globalize/branches/for-1.1
nothing is reported and there is nothing installed in vendor/plugins
trying to use
D:\Rails\myapp>ruby script/plugin install
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 Feb 17
4
Need Help with Globalize Plugin
Hi everyone,
I''ve been playing around with the Globalize plugin for some days now
but I can''t seem to make it work properly with my models. I''m currently
using Postgres 8.0 for the database and needed to make some
modifications with my migration file that was posted by Jake Morrison in
the Globalize wiki...
2006 Jul 26
0
How to Globalize using variants of templates?
Hi,
We have a web application running on Ruby on Rails 1.0, with all RHTML
files stored in the standard app/views/controller directories. The
static content, messages, etc. in all the templates are in US English.
We hope to release the website in other languages.
We are considering the use of the Globalize plugin from
http://svn.globalize-rails.org/svn/globalize/globalize/trunk/
The layout of the
2006 Feb 05
0
[GLOBALIZE] Trouble getting example on wiki working
Hi,
I decided to integrate globalize into my app yesterday but I''ve run into
trouble.
I originally decided to try a db translation on one of my models so I
followed the wiki example and modified where appropriate.
When I tried to create an empty Album via the console I get the
following error:
http://www.rafb.net/paste/results/opZ13I27.html
I tried to investigate and from what I
2007 Jan 17
1
Get "Uninitialized constant" with Globalize
Hey there :)
Wondering what''s up with this... I just installed the Globalize plug-in
in my current project, ran the rake globalize:setup script, then added
"include Globalize" to my config/environment.rb.
Now, when I try to start my server, I get:
=> Booting Mongrel (use ''script/server webrick'' to force WEBrick)
=> Rails application starting on
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 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
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
2008 Sep 12
0
Exclude globalize from action
Hi everyone,
I would like to know if it possible not to load globalize for a
specific actions. I try to convert a view to pdf but there are some
conflicts in the render_to_string function. So I would like to render
the view without Globalize.
Is it possible?
Unfortunately the action_view of Globalize seems too tricky to mess
around with
--~--~---------~--~----~------------~-------~--~----~
You
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 Jan 18
1
Globalize: :select option not allowed on translatable models
Hi all
I got the following error after trying to get the Globalize plugin to
work:
:select option not allowed on translatable models
What could be the problem? I just created a plain new Rails app,
installed Globalize through SVN, migrated the DB schema, created a
scaffold for Product, and edited the Product model like the following:
class Product < ActiveRecord::Base
translates :name,
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 Mar 13
3
Translate to one language: Globalize is overkill?
Hi,
I am developing a Rails application which should be in ONE language (not
English).
Globalize seems overkill for this purpose (do you agree?).
So I''m trying some of the approaches on the wiki. In particular:
http://wiki.rubyonrails.org/rails/pages/OverridingRailsMessagesInAnotherLanguage
This *does* override the month names, but does *not* override the error
messages.
I''m