search for: updatepo

Displaying 11 results from an estimated 11 matches for "updatepo".

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...
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 to fix it by requiring this and that at different points i...
2006 Feb 27
4
Gettext and 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. But they dont get translated in my app. I then tried adding the line - bindtextdomain("myapp") but I couldnt get it to work, it claimed there was no such method. What am I doing wrong here? Regards, Albert
2006 May 08
1
ruby-gettext and "duplicate message definition" errors
it seems that applying rails-gettext (rake updatepo) on a rails project with models inheritance breaks correct .pot file generation, because inherited models are duplicated. Any workaround? -- Posted via http://www.ruby-forum.com/.
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'' folder like I expect it to. The task doesn...
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
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 archives yields only two hints. (1) install ruby 1.8.4 and (2) make sure there''s an empty line at the end of each file. Although I can''t seem to fin...
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'':...
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 doesn''t support BOM) - Work with xx(double x) library and the library which uses xx library such as rcov. - Fixed expire_fragment with rail...
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, too! Last but not least I set de-de as default language in Firefox and run my app >> Failure! NoMethodError...
2006 Jun 24
8
How to install programs in wine?
I am a rank newbie to Linux and wine. I am running Ubuntu Dapper on an AMD 1800 mhz machine, wine 0.9.15 Everything I have read says use the installer to load windows programs. Where is the installer? Thanks, -- Ron Thompson On the Beautiful Florida Space Coast, right beside the Kennedy Space Center, USA http://www.plansandprojects.com My hobby pages are here: