similar to: ruby-gettext and "duplicate message definition" errors

Displaying 20 results from an estimated 10000 matches similar to: "ruby-gettext and "duplicate message definition" errors"

2006 May 29
1
need help with gettext
I''m following the wiki instructions for using gettext: http://manuals.rubyonrails.com/read/chapter/105 I run ''rake updatepo'' and it creates a myapp.pot file in rails_root/po. I then create a sub-directory (rails_root/po/en_GB) and copy a translated myapp.pot into it. When I run ''rake makemo'' it doesn''t create a ''locale''
2006 Jun 22
2
GetText Question: How not to gather ActiveRecord''s columns?
Hi, Rake''s ''updatepo'' task[1] suggested by Masao(Ruby-GetText maintainer) gather whole model''s columns. I don''t need to translate those column names. So I''d like to give translators the po files without such needless messages. However I wouldn''t like to exclude ''app/models'', because of some useful gettext-ized
2006 Feb 27
4
Gettext and rails
Hi Im using the newest GetText gem, and Im having problems with classes outside rails, they don''t get translated. For example: I have a class representing access in my app, and it is not a ActiveRecord, just a normal class. When require ''gettext'' and include it in the class, I can use the _('''') methods fine. They get picked upp by rake updatepo.
2008 Sep 15
1
Ruby-GetText-Package-1.93.0
Hi, Ruby-GetText-Package-1.93.0 is now available. Changes ------- * Bulgarian added. * Estonian updated. * French updated. * Japanese updated. * np_, npgettext support. * Fixed bugs. - detect the correct charset on POSIX OS. - updatepo task works again on Windows OS(with broken GNU msgmerge). - Remove BOM from po-files before GNU msgmerge is executed. (GNU msgmerge
2008 Feb 04
0
gettext and acts_as_paranoid gives stack overflow
HI all, I just started using acts_as_paranoid, and I''ve been using gettext for a while. Now I get the below errors when I run rake gettext:updatepo. It''s interesting that the errors seem to stack up, so the first file just errors on belongs_to_without_deleted, the second file has a layer of eval, the second has two layers of eval, and so forth. I''ve tried for a while
2006 Jan 11
8
GetText: Works with en_GB and en_US, but doesn''t with de_DE!
Hi all I''m trying to get GetText to work. I have the following folder structure: |-myapp.pot |-de_DE/: | `-myapp.po |-en_GB/: | `-myapp.po |-en_US/: ` `-myapp.po I run rake updatepo, and then rake makemo. Now I set en-gb as default language in Firefox and run my app >> works! Then I set en-us as default language in Firefox and run my app >> works,
2006 Jun 24
2
gettext and maintenance
hi all my app has two languages, I''m using gettext to manage them and so far so good. My question is about maintenance. If I fix a typo in a _() enclosed string, for example in an rhtml file, then the translated version of that string will no longer be valid will it? even if the translation itself had no errors. Is that the case and if so will i be forced to have the _() string
2005 Dec 29
5
Ruby-GetText-Package-1.1.0
Hi, Ruby-GetText-Package-1.1.0 is now available. This release enhances many features for Ruby on Rails. I hope this release make your Application support L10n. And thanks for many helps! Highlights ---------- * Added some functions which managed po/mo files easily. * GetText.update_pofiles creates/updates pot/po files. The idea is from Sascha Ebach. * String% is extended to accept
2006 May 01
2
GetText.update_pofiles: seeking help with error message
[Re-post from Ruby list, where this didn''t belong. Sorry for the noise.] Hi all! Following the guide at http://manuals.rubyonrails.com/read/chapter/105, I''m trying to i18n a Rails application. However, when executing ''rake updatepo'', I get the following error message: "numeric literal without digits" Searching Google and the mailing list
2008 Jan 28
0
gettext 1.10: uninitialized constant ApplicationController
When running rake updatepo with gettext 1.10, for several controllers it gives Ignored ''app/controllers/sample_controller.rb''. Solve dependencies first. /Users/sava/code/sht/trunk/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:266:in `load_missing_constant'': uninitialized constant ApplicationController Rails is 1.2.5, frozen in
2005 May 17
5
Strings, Variables and GetText
Hi, I''m starting to use GetText and have this code: render_text %(<script language="JavaScript" type="text/javascript"> parent.mainframe.onUpdateNew("Gallery <b>#{@media.name}</b> was successfully created.", "#{@media.name}","#{String(@media.id)}","#{@media.media_type}"); </script>) I need to convert
2006 Aug 11
2
gettext problem
Hi, I''m a newbie to rails and find the framework very well designed. However, I have to develop for the French and Belgian market, wich means the primary language is french and sometimes need i18n. I started to evaluate ruby-gettext, as it allows me to translate rails validation errors, including model and attribute names. I follow the tutorial at
2008 Jan 25
1
Yum update fails on perl-gettext
Foe a while now, yum update has been failing on the perl-gettext package with: Transaction Check Error: file /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Locale/gettext/gettext.so from install of perl-gettext-1.05-1.el5.rf conflicts with file from package perl-Locale-gettext-1.05-1.el5.rf Can anyone give me any advice in how to solve this? Full output follows: # yum update
2007 Dec 30
1
gettext() and messages in 'pkg' domain
Hello, As I understand it, gettext() is designed to retrieve messages from 'R-pkg' domains. As such, it cannot retrieve some of the messages in the 'pkg' domains (those supposed to be accessed by C code only, I know), namely, all messages ending with space(s) or \n. This is clearly indicated in ?gettext (at least for trailing spaces): "For 'gettext', leading and
2006 May 30
2
Wrong Content-type in RJS with Gettext
Hello, I am developing an application using Rails and doing l10n with ruby-gettext. When I deploy the app on lighttpd, every rjs template is rendered with Content-type: text/html; charset: UTF-8. I believe it comes from 85th line of rails.rb script in ruby-gettext lib. RJS templates are not executed in this situation. Hovewer, when I run the app with Webrick, rjs templates are rendered with:
2006 Apr 15
0
Ruby-GetText-Package-1.4.0
Hi, Ruby-GetText-Package-1.4.0 is now available. Changes ------- * Support OpenBSD. * Fix bugs * Enhance supports of Ruby on Rails. * Improved ActionMailer localization support. * Support ActionWebService * test/gettext_test_rails.rb works with Rails-1.1.2. Thanks to: Donald Piret, Nobuhiro IMAI, Nick Snels, John Allard and others. Website -------
2006 Feb 23
0
Ruby-GetText-Package-1.2.0
Hi, Ruby-GetText-Package-1.2.0 is now available. Changes for RoR --------------- * Works with rjs templates. * Add methods to change the error message dialog(?) title/explanation. * Bugfixes. * Added GetText.Nn_(). Website ------- http://rubyforge.org/projects/gettext/ * Download http://rubyforge.org/frs/?group_id=855&release_id=2856 * Ruby-GetText-Package HOWTOs
2006 May 07
0
Ruby-GetText-Package-1.5.0
Hi, Ruby-GetText-Package-1.5.0 is now available. Russian is added. Now it supports 11 languages and the screenshot is available. http://www.yotabanana.com/hiki/?ruby-gettext-screenshot Have fun! Changes ------- * Support Russian. * Fix bugs. * Refresh mo option was added. Check mo files and reload it if it''s updated. ruby -d or GetText::TextDomain.check_mo=(true). Or
2006 Jan 14
0
Ruby-GetText-Package-1.1.1
Hi, Ruby-GetText-Package-1.1.1 is now available. And also screenshots page is available. It''s a sample Rails blog in 10 language. Check it out! http://www.yotabanana.com/hiki/?ruby-gettext-screenshot Changes ------- * Bugfixes. Almost of all fixed-bugs are parts of Ruby on Rails supports. * Added Greek locale by damphyr. * Support tests for Ruby on Rails. Thanks to: Kazuhiro
2006 Jun 09
0
Ruby-GetText-Package-1.6.0
Hi, Ruby-GetText-Package-1.6.0 is now available. Chinese(zh_CN), Italian(it) are supported. Screenshots in 13 language (Sample Rails blog) are: http://www.yotabanana.com/hiki/?ruby-gettext-screenshot Since this release, you can localize your rails plugin easily with gettext. I wrote a small example. If you''re interested in it, check the file in the released tar-ball. # See