Displaying 20 results from an estimated 20000 matches similar to: "l18n errors"
2006 Oct 31
0
6362982 namespace pollution/protection in libc
Author: raf
Repository: /hg/zfs-crypto/gate
Revision: 4e0d2d9869b6e03153797c60bb3786268667c14c
Log message:
6362982 namespace pollution/protection in libc
6369040 there should be but one synonyms.h file outside of libc
Files:
create: deleted_files/usr/src/lib/common/inc/mtlib.h
create: deleted_files/usr/src/lib/libc/sparcv9/gen/llabs.s
create:
2005 Dec 30
0
L18n help
i need some help writing some code in rails about cookies.
what i want to do is depending on the cookie value sent i want to set the
language for the page .
the code is something like
in applicationcontroller.rb
$KCODE = 'u' # lets go unicode, you will have less trouble ...
require 'jcode' # and use the right string methods for utf-8
# The directory where translation files
2009 Jun 24
3
I18N: allocator undefined for Proc
Hello all,
I''m trying to translate my application using the I18N feature and it was
working fine until I added a couple of new entries to the en.yml files.
Now in every action in my application I always get the following error:
TypeError in Account#login
Showing app/views/account/login.rhtml where line #2 raised:
allocator undefined for Proc
Extracted source (around line #2):
1:
2:
2010 Feb 16
7
YAML, UTF-8, TextMate, Notepad
This is not a question but a report on the difficulties I had and the
solution I found with respect to UTF-8, YAML::load, and Ruby/Rails.
Comments are appreciated.
- - -
I had been struggling for two days to get UTF-8 working in my Rails app.
I had/have a localization file, lib\locale\de.yml, that had iso-8859-1
encoding. I could not get that to display properly.
Marnen, quite correctly,
2009 Jan 17
2
active_scaffold + i18n
Hello all,
I have a project where I''m using active_scaffold and would also like to use
i18n over it.
While the i18n works fine if I just ignore the active_scaffold, I couldn''t
get it running with it.
I searched through its docs and googled quite a bit. Can I use i18n with
active_scaffold?
thanks
cheers
--
gallois
aka Felipe Gallois
blog: www.gallois.com.br/blog
fanglib
2010 Oct 01
1
I18n.with_options bloc executed TWICE
Hi, to avoid putting the whole locale scope on every I18n.t call I''m
trying to use a scope, as stated in the doc
(http://guides.rubyonrails.org/active_support_core_extensions.html#with_options)
I tried with
<%= I18n.with_options :locale => :en, :scope => ''portal.visitor_menu'' do
|i18n|%>
Try <%= i18n.t :fav_songs %>
<% end %>
But it produce
2010 Nov 19
1
I18n::InvalidLocaleData error on load page
Hi All,
I use rails 3.0.1 in my application and when the server web load this
following page http://localhost:3000/signup
<h1>Sign up</h1>
<%= form_for(@user) do |f| %>
<div class="field">
<%= f.label :name %><br />
<%= f.text_field :name %>
</div>
<div class="field">
<%= f.label :email %><br
2003 May 26
1
portupgrade issue
I am running 4.8-STABLE.
I recently did a cvsup (repeatedly, most recently today). Ever since,
portupgrade dies with the following messages:
zircon# portupgrade -r pkgconfig
/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:310:in `deorigin': failed to
convert nil into String (PkgDB::DBError)
from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:903:in
`tsort_build'
from
2012 Dec 15
3
Cannot build custom locale with utf-8 charset
I am trying, without success, to compile a custom locale for the utf-8
character set. I have issued this command:
localedef --no-archive -f UTF-8 -i
/usr/share/i18n/locales/en_CA at yyyy-mmm-dd en_CA at yyyy-mmm-dd.utf8
which produces the requisite files without reporting an error but
which none-the-less insists on using the iso-8859-1 charset:
LC_ALL=en_CA at yyyy-mm-dd locale charmap
2010 Aug 21
2
Rails 3: I18n.locale not set to I18n.default_locale in production
I have an application that uses I18n, but in the first deployment, I
don''t want to enable different languages per user/request because
there are very few users who all speak german).
Therefore I have config.i18n.default_locale = :de in config/
application.rb.
I have no code whatsoever to set/change I18n.locale in my app.
In development environment, it works as expected: the
2013 Jan 21
0
Custom locale, LC_TYPE and urxvt
I have a custom locale in use on our system. Consequently, Xlib does
not recognize the default environment setting for LC_TYPE. To get an
urxvt window opened without encountering the locale error message I am
therefore constrained to use some variant of the following:
LC_TYPE=en_US.UTF-8 urxvt&
I would like to set LC_TYPE to a different value than LANG. However,
based on experiment it
2010 Aug 13
0
Rails 2 and Rails 3 in the same gemset leads to errors
Hi.
I am pretty new to ruby (and those gems) and rails.. Until now I
thought that all rails application have some kind of integrated
version management (RAILS_GEM_VERSION in Rails 2 and gem ''rails'' in
Rails 3). And therefore I thought that having Rails 2 and Rails 3 in
the same gem repository (in my case gemset under rvm) wouldn''t be a
problem. But during installing
2010 Feb 17
0
[PATCH] Provides the new node lifecycle events.
Replaced the TurboGears 2 reference implementation with a simpler Django
server.
This implementation has worked out the server interface for an HTTP
awake and config request. Started working on this ready portion, but
nothing is ready yet.
THIS IS A WORK IN PROGRESS: This patch is solely meant to solicit
feedback. Please reply with suggestions and improvement ideas. Thanks.
:)
Signed-off-by:
2006 May 05
0
Updating Squirrelmail-i18n dependency
Because of a folder display problem caused by certain character encodings used
in some email headers we had previously updated to squirrelmail-1.4.6-1 and
installed squirrelmail-i18n-1.4.6-1 to cope. Yum is now trying to update our
installation with the latest offical Centos release but there does not seem to
be a corresponding squirrelmail-i18n rpm available in any of the repositories
which is
2011 Jul 22
2
ActiveSupport not including i18n?
Went to use ActiveSupport in a gem today and got an error on account of not
having i18n installed. Either bundler should be installing i18n along with
activesupport or docs need to be updated.
quick repro: https://github.com/softwaregravy/repro_active_support_i18n
bundle exec irb
require ''active_support/all''
detailed steps and error:
1) add to Gemfile
require
2011 Jul 22
2
ActiveSupport not including i18n?
Went to use ActiveSupport in a gem today and got an error on account of not
having i18n installed. Either bundler should be installing i18n along with
activesupport or docs need to be updated.
quick repro: https://github.com/softwaregravy/repro_active_support_i18n
bundle exec irb
require ''active_support/all''
detailed steps and error:
1) add to Gemfile
require
2009 Jul 31
0
Somewhat OT: OpenOffice.org Headless issues as non-root user
Hi,
I've installed recently OpenOffice.org 3.1 on Centos 5.3. I use OOo in
headless mode. I have no problem when running as root, but I'd prefer
run it as non-root user (oooserver user). When I run the script in
debug mode this is the output:
sh -x /tmp/ooo-headless-nonroot start
+ . /etc/rc.d/init.d/functions
++ TEXTDOMAIN=initscripts
++ umask 022
++
2007 Apr 30
1
CentOS 5 single DVD for i386 and x86_64
Hello,
I'd like to announce a release of a CentOS 5 DVD image, with i386 and
x86_64 installations.
This is an independent work, so please don't bother CentOS lists with
bugs related to the installer only.
Summary of changes:
* i686 and x86_64 install from a single dvd (automatic detection on boot)
* updates as of 2007-04-26
* no kdelibs-api-docs, openoffice.org, tetex-doc and most
2010 Jul 23
0
alias_method_chain with i18n
Hello,
I was investigating solutions for i18n with will_paginate and I found
a possible solution at http://lawrencesong.net/2009/01/enable-i18n-in-will_paginate-plugin/
The author adds to application_helper.rb the following code:
#############################################
include WillPaginate::ViewHelpers
def will_paginate_with_i18n(collection, options = {})
2018 Jan 14
2
YP listing problem
I am having problems YP listing my opus and webm streams. The mp3 streams get listed though.
my ffmpeg for the webm stream:
ffmpeg \
-f v4l2 -video_size 640x480 -framerate 30 -i /dev/video0 \
-i http://mustafejen.se:8000/feting \
-f oss -i /dev/dsp1 \
-f webm -cluster_size_limit 2M -cluster_time_limit 5100 -content_type video/webm \
-c:a libvorbis -b:a 96K \
-c:v libvpx-vp9 -b:v 1.5M