Displaying 20 results from an estimated 20000 matches similar to: "getting the ri18n to dynamically switch locales without restarting webserver"
2007 Jan 19
1
Trouble with Rails/Ri18n
Hi,
I am new to Ruby/Rails but totally fall in love with :D
Nonetheless, today I am totally stuck with Ri18n. I basically followed
the 10 Steps to Make Your Rails Apps Multilingual. No errors are
thrown,
the english version works as before with the freshly added <%= _('''') %>
Still, no translations are performed. Setting I18nService.instance.lang
= ''de''
2005 Oct 01
0
How to customize build-in messages into i18n?
Hi Railer,
I''m developing a multilingual website by rails.
I choose ri18n to customize i18n messages.
However, for messages which are generated from build-in methods, such as
ActiveRecord validation error message, time_ago_in_words() ...
Any suggestion how to make these build-in message multilingual?
Thanks.
Gary
_______________________________________________
Rails mailing list
2006 Jan 05
0
I found a way to dynamically switch languages in your railsapp -- look at it and give your opinions
can you share the code so that others can benefit out of it???
 
silvy mathews
________________________________
From: rails-bounces@lists.rubyonrails.org
[mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of sekhar
Sent: Thursday, January 05, 2006 7:14 AM
To: rails@lists.rubyonrails.org
Subject: [Rails] I found a way to dynamically switch languages in your
railsapp -- look at it and give
2005 Oct 21
0
[RFC] Multi-language rails
I''ve started working on rails translations and localization.
My first notes are at 
http://wiki.rubyonrails.com/rails/pages/RailsLocalization
First doubt:
ri18n uses functions like _(), _i(), or n_() to mark translatable strings. We 
need to mark some of these in ActiveRecord and maybe another components of 
the framework. Since the translation framework is initialized by railties, 
this
2006 Jul 26
1
How to reload classes in lib/ without restarting server
Hi all,
We have a class extending a class from a plugin. We didn''t know where to 
put it exactly, but the lib/ folder seemed to make sense.
Problem is, it doesn''t reload the file for each request, so it makes 
development mode difficult (have to restart the webserver with every 
request).
Any advice on how to make it reload?
Thanks in advance!
Cameron
-- 
Posted via
2005 Aug 13
9
Multilingual Rails v0.6
Multilingual Rails v0.6 is released!
Here is the changelog. Documentation and download at the homepage:
http://www.tuxsoft.se/oss/rails/multilingual
v0.6 - 2005-08-13
   * String case-manipulation functions replaced with ruby-unicode  
equivalents (if ruby-unicode is installed):
       String#downcase, String#upcase and String#capitalize now fully  
handle Unicode.
   * String normalization
2006 Jan 04
2
noob help
I am writing an app with i18n , so my main.rhtml has this option
<%= start_form_tag :action => ''lang_hi'' %>
<%= select "Lang","language",[''Telugu'',''Hindi'']%>
<%= submit_tag "Go" %>
<%= end_form_tag %>
the above way i am able to call only one action , is there a way i can
call any
2004 Sep 02
2
Redirect to intranet webserver if not on maclist
First off, I want to say that everyone on this list is great.  So heres
what I want to do..I have a maclist setup with all my users (roughly
400).  There are constantly people leaving (deleting their accounts
which removes their MAC address) and registering for internet access ( I
have a php webserver that registers them, adds them to the maclist, and
allows them on the net).  Is there a way to
2007 Nov 23
3
webserver setup
Hi,
I have setup a webserver on CentOS 4.5 with NameVirtualHost.
Two VirtualHost should be reachable by port 80 from outside, while the
third (default) should be only reachable by https from outside but by
http from inside. 
Since all share the same IP firewalling seems to be out of question. So
is there a way to restrict that in Apache config?
regards, Andreas
2005 May 11
0
SIPURA SPA-2000 webserver dead after firmwareupgrade
<< Has anyone seen something like that and is there a fix?  A google
search didn't turn up any apparent hits.>>
I have seen exactly this problem.  Even IVR failed to work.  Got an RMA
from the supplier and they exchanged with no questions. 
Bill Seddon
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On
2006 Feb 04
1
Recommendations for securing a webserver
Hello, 
We're migrating a webserver from RedHat 7.x to CentOS 4.2. In the process, 
we'd like to improve security. 
We're currently planning on making sure SELinux is enabled, mounting the /tmp 
partition noexec, and running PHP in safe mode, hide_errors on, 
register_globals off by default. 
vsftpd is set to chroot logins. 
I've seen Apache run inside a chroot jail, but that
2004 Aug 06
2
I can´t access from my intranet to the webserver using www.mydomain.com ....
I´m not suscribed to the list.
Hi, i have a little intranet with 2 servers, both of them are running 
mandrake 10, one of them is dedicated as firewall and router, this one use 
shorewall 2.0 and has been configured like says on the quick guide for two 
interfaces. The other one is been used as webserver, mail server and ftp 
server. I used apache 2.0 as webserver.
Thing is that i can access the
2004 Aug 06
2
Stream from webserver
Hello.
I want to know how I can put files (mp3s or oggs) on my webserver, make a
plsylist and stream them directly from the webserver.
I had found an apps witch could do that on the old website, but not on the
new one..
I also want to know what app you advise me for stream mp3s to a icecast
server (in ogg) under linux.
Because I've seen DSP for winamp, but no apps for streaming from a linux
2011 Sep 29
2
How to build a webserver, centos 6, videos
Hello all,
I am going to post videos on a youtube channel showing the steps I am 
taking in putting together a new server.
I am by no means an expert and it is intended for people who just want 
to get a gist of what it entails.
channel: http://www.youtube.com/user/WebserverVideos
The first part is done, getting the server and putting it together. 
Along with my thoughts on the build.
Future
2006 Sep 06
1
Server closing all the ports after inactivity Could not connect to webserver
Hi All
I am running Centos -4.4 final with all the updates 
My webserver stop responding after about half an hour od inactivity.I just 
gets a timeout message. When I try to refresh the page 3-4 times it start 
active again.
Infact all the ports on the server are closed  during the inactive period even 
though I have ssh,ftp and http enabled on it. When the server is responding I 
can see (with a
2013 Oct 31
1
DNS realm -> external Webserver
Hi..
I cant access my Webpage from the local network.
Ive setup Samba like this
--realm=example.com
--domain=EXAMPLE
Everything is working but I cant surf to (www.)example.com.
Does anyone know how I configure the internal DNS to resolv that to my
external webserver ?
Hans
2004 Aug 06
0
Replicate stream on webserver
Hi Geoff,
First, thank you very much for understanding my message; I posted a thread
on phpbuilder but nobody really understood what my end goal was... It looks
like they don't really know what streaming is...
So you think it's just impossible to do? I am still convinced that PHP or
Perl are powerful enough to handle it but I will have to search a little
more. I know how to open sockets
2005 Jun 26
0
running icecast and a webserver on same port
Care to shed some light on this? I have about 10 IPs that are at my
disposal and 3 I've been keeping for spares and whatnot. Though
binding them is a little beyond me.
TIA
Justin
On 6/22/05, Klaas Jan Wierenga <k.j.wierenga@home.nl> wrote:
> 
> Hi,
> 
> You can if your machine is assigned two IP addresses. Then you can bind the
> webserver to port 80 on the first
2010 Oct 03
2
best filesystem for a webserver
Dear all,
i'm setting up a new machine to handle a webserver with mysql
web directory contains alot of small files and database is around 15 GB
i've did a bit research, read alot of articles..
mainly i came up with the understanding that:
EXT3 is the set it and forget it kind of filesystem.
and reiserFS is the best choice for small files though there's a bigger risk of data loss
2002 Oct 23
0
Sambas as fileserver for a IIS WebServer
Hi,
 
Does anyone used a linux samba server as a fileserver for a Win2k, where
the w2k is a loaded webserver using IIS? Or maybe a IIS Web Farm? 
I need a central storagepoint to my frontend webservers to centralize
all the administration, backups, etc.
Will the mount consume too much CPU in the win2k machines? And in the
samba server? Will FP2000 work allright?
There's any way to tell the