similar to: Localization in SH Login Generator

Displaying 20 results from an estimated 10000 matches similar to: "Localization in SH Login Generator"

2008 Jan 05
0
[Repost, with Formatting] Trying to understand unicode character entry, goes into postgres DB backing rails, saved to yaml as \xc4\x81
Apologies on unformatted send previously, i hit Enter and the web UI posted, to my chagrin. 1. Examine the Unicode standard''s code page collection for "Latin small letter a with macron". 2. Nets U0100.pdf 3. "Latin small letter a with macron" appears on chart as 0101. This is a hexidemial number which points to U+0101 as its code point. Converting 0101 to decimal
2011 Jul 14
0
Validation error message header not translated (activerecord.errors.template.header seems to be ignored in YAML localization file)
Hello, i am not sure where to report this, i have created an issue at https://github.com/svenfuchs/rails-i18n/issues/118 It seems that activerecord.errors.template.header is ignored in YAML localization file. Changing or translating it has no effect on the rendered header for validation errors. Thank you for any comments, Alexey. -- You received this message because you are subscribed to
2006 Jul 28
4
SCGI + Rails at System Startup
All of the documentation for scgi_ctrl says to run it from your Rails app directory, and I can''t get it to run from a single command line like you would in a system startup script. I''ve tried: scgi_ctrl -c /www/myapp/config/scgi.yaml start ...but that just errors out unless I run it from within the root of my rails app (/www/myapp). -- Posted via
2006 Aug 17
2
SaltedHashLoginGenerator no such file to load -- iconv
Hi, I''m trying to use the SaltedHashLoginGenerator as documented on http://wiki.rubyonrails.com/rails/pages/SaltedHashLoginGenerator Ruby version: ruby 1.8.4 (2005-12-24) [i386-openbsd3.9] I''ve the following commands: gem install salted_login_generator gem install localization_generator rails myapp cd myapp ruby script/generate salted_login User Localization All ran
2006 Feb 27
5
Localization: word wrap in tables?
I am a Rails noob, working on bringing a legacy db system into the 21st century. I want to localize the UI for two languages (EN/JA). Since I am already using the salted user system, I have been playing around with T. Fuchs'' localization module. Nice and simple, already up and working. But here''s the problem: Japanese text is wrapping weirdly in table cells. I could set
2005 Nov 20
1
Just another localization thread
Hey all, I was playing w/ Thomas Fuch''s Localization module (thanks Thomas!), and just realized how hard is to localize an application in Rails :-) The Localization module works nice, but the problem is the error messages. Its not that good to keep the application in [your idiom] and the error messages in english. I saw the other threads about it, specially the ones that recommends
2006 Feb 22
0
Mongrel 0.3.6 -- Win32 Service/Rails Real Good
Hello Folks, This release of Mongrel should make the win32 folks go crazy. Thanks to Luis Lavena it supports a full service system for installing any Rails app as a service. This lets you start your rails apps from either the command line or the Service console. Stopping is still a bit problematic but we hope to have that solved in the next release. You win32 folks should probably send Luis
2005 Jul 04
1
Localization problems with leeding html escaped ÅÄÖ
Hi All. When translating a string to in swedish, using HTML codes for å,ä,ö i have a minor problem. Eg: (se.yaml) ui_core_over: Över All I get when calling l(''ui_core_over'') in my view is "Ouml;ver" The leeding & is missing, making the page look silly. The HTML characters works fine as long as it''s not used as the first letter in the string.
2006 May 11
2
Making my site multi-lingual
Hi, I''m wondering how I should go about making my website multi-lingual. Basically, there will be different content for the different languages, and that''s not really a problem... all I need to do is give each content entry in the database a language_id. But the problem is with the non-content text, eg, "In order to access this area, you must be logged in",
2006 Jun 23
1
mongrel start oddities
I am running mongrel-0.3.13.1. Have used lighty and fcgi in the past, and I must say that apache-2.0.x proxying to mongrel is much nicer to deal with! I am having this problem, however. If I am in root''s homedirectory, and start mongrel with this command: --------- mongrel_rails start -a 127.0.0.1 -e production -c /home/www/rails/myapp -l log/mongrel.log --user mongrel --group mongrel
2006 May 11
1
Localization (again) a la Thomas Fuchs
Has anyone had any success adapting The Localization plugin in order for the language to be selected based on a user''s account (i.e:session)? -- Posted via http://www.ruby-forum.com/.
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,
2012 May 15
5
setting up the SQLite database
I know this isn''t Python, but I''d like to get a view on the ''one obvious'' way to set up an SQLite (or other) database and its location per-app. I''ve got a bit lost with the Camping 2 changes and various code snippets I have kicking around. 1. is it best to set up the DB creation/connection: 1.1 at the end of the app
2010 Nov 18
0
Rails 3 upgrade - Custom cache store
I had a custom cache store set up in Rails 2.3. I''m in the process of upgrading to rails 3, but have run into a snag. Before I had all the setting in my environment.rb. It would basically load a yaml file with my server settings, and set up the store via config.cache_store. It seemed like the correct place for this in Rails 3 was as an initializer. So I did basically the same thing,
2011 Apr 27
3
Can't configure cach_store in an initializer
I''m trying to use redis-store as my cache_store. I also have an app_confirg.rb initalizer which loads a yaml file for config settings. In my redis.rb initializer I have: MyApp::Application.config.cache_store = :redis_store, APP_CONFIG[''redis''] However, this doesn''t appear to work. If I do Rails.cache in my rails console I can clearly see it''s using
2006 Feb 22
13
Mongrel 0.3.6 -- Win32 Service/Rails Real Good
Hello Folks, This release of Mongrel should make the win32 folks go crazy. Thanks to Luis Lavena it supports a full service system for installing any Rails app as a service. This lets you start your rails apps from either the command line or the Service console. Stopping is still a bit problematic but we hope to have that solved in the next release. You win32 folks should probably send Luis
2012 Feb 01
5
Wine Executes Locally, But Not With Absolute Path
I have an uninstalled portable Windows .exe. When I type the absolute path, it doesn't work: > wine /home/ubuntu/appDir/myApp.exe but, if I cd to the application directory and execute it locally, it works: Code: cd /home/ubuntu/appDir/ wine myApp.exe I'm trying to include it in my Docky dock via a .desktop shortcut I've made in /usr/share/applications/. I don't mind
2005 Mar 17
2
Using gettext to localize your rails app
Hi, I am having some trouble finding out how best to use ruby-gettext in my app. I do this in my ApplicationController: before_filter :localize private def localize # we will always use UTF-8 @charset = ''utf-8'' @headers["Content-Type"] = "text/html; charset=@charset" # simplified approach: extract the first language from the request # or use
2007 Jun 09
1
Rake test tasks only work with --trace
So this has left me completely confused. I''m trying to get the test suite going on an existing app, but things going a little crazy. In the application directory if I do ''rake'' or ''rake test'' I get: rake aborted! Lost connection to MySQL server during query However if I do ''rake test:units'' or ''rake
2006 Mar 02
2
SwitchTower: why symlink releases/under -> current?
Hi, I have a trouble with deploying my ordinary rails application(myapp). When I execute ''rake deploy'', [...] command finished * executing task symlink * executing "ls -x1 /var/www/myapp/releases" servers: ["app1.olalog.com"] [app1.olalog.com] executing command command finished * executing "ln -nfs /var/www/myapp/releases/under