similar to: I18n.t('countries.NO') broken?

Displaying 20 results from an estimated 20000 matches similar to: "I18n.t('countries.NO') broken?"

2012 Jan 31
3
Interesting strangeness with I18n.t
Hi all, I have a locale en.yml file like this: https://gist.github.com/1707858 If you launch a rails console and ask for: irb(main):003:0> I18n.t("country.ES") => "Spain" Cool. Expected response, but what if you do: irb(main):004:0> I18n.t("country.NO") => "translation missing: en.country.NO" Despite it exists (check it on the paste). I
2009 Aug 14
0
country select with i18n
I am trying to manage the country names with i18n. I have a countries table with the countries extension codes (us., co., ve., .bo. etc...) and the yml files with their complete names: en: countries: ar: Argentina co: Colombia . I am trying to make a form with a select option for country and came up with this: <%= f.select("country_id", Country.all.collect {|p| [ t
2006 Feb 07
2
Better i18n for Asterisk?
Hi List, Do you know if there are any plans to improve i18n for Asterisk? The current i18n way of doing it with asterisk is very limited and most of the time does not work. For example, take voicemail: "message" "received" "at" "seven" "30" "am" might sound good in English. But: "message" "recu" "a"
2008 Dec 13
6
Country numbering plan resources
Is there any good free / accurate online resources with detailed country numbering plans? Failing that let's get something running ourselves. I was also thinking maybe people present could contribute some information on this list for now. The countries I am after are below. To start this off I will provide the information for Australia +61 and New Zealand +64. NZ Cellular: area code 21
2012 Mar 07
3
pulling out 1 country and 1 wave
Hello. I am trying to pull out one country from a time series of 5 waves. For example I need Norway from the 5th wave. This is new to me. Typically, I work with country specific surveys. data = norway I have attached a .tiff of the codebook showing the variable names for Norway and the wave. They appear to be Norway = v218 and wave = v15. But perhaps I am wrong and this is part of the
2023 May 02
1
Reg: Help regarding ggplot2
It's not clear what you want but ... On 02/05/2023 10:57, Upananda Pani wrote: > Dear All, > > I have a dataset which contains date and 12 other countries data. I > have extracted the data as xts object. > > I am not able to recall all the series in the Y axis. My data set > looks like this > > index crepub finland france germany italy netherlands norway poland >
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
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:
2006 Sep 26
2
Statistical data and Map-package
Dear helpeRs, I'm working with the map-package and came upon a problem which I couldn't solve. I hope onee of you can. If not, this can be seen as a suggestion for new versions of the package. I'm trying to create a map of some European countries, filled with colors corresponding to some values. Let's say I have the following countries and I assign the following colors
2023 May 02
5
Reg: Help regarding ggplot2
Dear All, I have a dataset which contains date and 12 other countries data. I have extracted the data as xts object. I am not able to recall all the series in the Y axis. My data set looks like this index crepub finland france germany italy netherlands norway poland <date> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
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
2017 Apr 12
2
Upcoming laws and the state of privacy in Europe?
Hi, I'm not trying to rock any boats or make noise and I'm not interested in discussing politics either, but I just wanted to get a general feel for what the rest of the tinc community felt in regards to how the EU looks like it wants to completely break encryption and make tools like tinc unfeasible. Both Germany and France want this to happen and in the UK the snoopers charter has
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 Mar 19
2
I18n and Rails 2.3.5
Has anybody faced any problem to use i18n on Rails 2.3.5? Sometimes when I call the *t* function, it works fine, but for some keys, it does not work and I have no clue why it is going on. I do have a .yml with correct keys and values. For example, in this ( http://dev.promine.com.br/promine) page, i18n is working properly, but in this (http://dev.promine.com.br/servicos) one, it isn''t?
2011 Sep 05
1
I18n.locale Setting invalid
I like this set of code: before_filter :set_language def set_language request_language = request.env[''HTTP_ACCEPT_LANGUAGE''] request_language = request_language.nil? ? nil : request_language[/[^,;]+/] I18n.locale = request_language if request_language && File.exist?("#{Rails.root.to_s}/config/locales/#{request_language}.yml") end if i setting
2010 Aug 01
3
The {{key}} interpolation syntax in I18n messages is deprecated...
All, Has anyone seen this - I am getting the following deprecation warning when running my functional tests under rails 2.3.8 (just moved an app from 2.3.4 up to 2.3.8 in prep to move to Rails 3 --- if you think this problem is solved in Rails 3 then let me know): The {{key}} interpolation syntax in I18n messages is deprecated. Please use %{key} instead. I have isolated the problem to the
2008 Feb 27
8
ActiveRecord validation messages not I18N-friendly and enforces grammar
ActiveRecord validation messages are currently not I18N-friendly. Specifically, I''m referring to the fact that it enforces a certain grammar, namely the beginning of the message must consist of the field name. For example: validates_presence_of :name, :message => "can''t be blank." ...generates the message "Name can''t be blank". This grammar
2009 Dec 29
1
undefined method `alias_method_chain' for I18n::Backend::Simple:Class
Hi, We are running RE: ruby 1.8.7 (2009-06-12 patchlevel 174) [sparc-solaris2.10], MBARI 0x8770, Ruby Enterprise Edition 2009.10 I tried a simple web app with a controller rendering a text and is working in my PC but on the server I get: Error message: undefined method `alias_method_chain'' for I18n::Backend::Simple:Class Exception class: NoMethodError Application root:
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