Sponsored Content
Full Discussion: Localization
Top Forums Web Development Localization Post 302301932 by cbkihong on Sunday 29th of March 2009 09:45:22 AM
Old 03-29-2009
Normally translation is not done dynamically. All content are translated manually and put into deployment, and the runtime system will determine dynamically which version to serve based on user environments.

There are many ways to achieve this, depending on how you would like to implement it.

Easiest way is to do this in Apache, if you are just serving static HTML files. Just name the different language versions of the files with different extension suffices. This is called content negotiation in Apache. The authoritative coverage is in the official documentation, but you can find easier articles on the web:

Content Negotiation - Apache HTTP Server

Otherwise, if your content is generated by some server-side environment such as PHP, CGI (Perl, Python ...), Java etc. then you will need to adopt mechanisms specific to the environment for supporting internationalization. Many development frameworks today support internationalization in some ways. Otherwise, you are always free to implement your own.
 

2 More Discussions You Might Find Interesting

1. SCO

SCO Localization in Albanian language

Hi, I need to localize SCO Open Server 5.0.7 in Albanian Language. Does anyone have any experience in SCO localization. Where should I start? :confused: I googled but did not find any hint or clue. Any help would be appreciated. Cheers (2 Replies)
Discussion started by: thomas66
2 Replies

2. Programming

Localization and Autotools

Hi All, I'm looking to get some some insight on how localization works for programs that come with Autotool support. I do understand the whole cycle by using the "gettext" tools, but if its a autotools/autoconf program there is more to do to get things going. I have searched but didnt found... (2 Replies)
Discussion started by: slumber
2 Replies
UPSSTATS.CGI(8) 						    NUT Manual							   UPSSTATS.CGI(8)

NAME
upsstats.cgi - Web-based UPS status viewer SYNOPSIS
upsstats.cgi Note As a CGI program, this should be invoked through your web server. If you run it from the command line, it will either complain about unauthorized access or spew a bunch of HTML at you. DESCRIPTION
upsstats.cgi uses template files to build web pages containing status information from UPS hardware. It can repeat sections of those template files to monitor several UPSes simultaneously, or focus on a single UPS. These templates can also include references to upsimage.cgi(8) for graphical displays of battery charge levels, voltage readings, and the UPS load. ACCESS CONTROL
upsstats will only talk to upsd(8) servers that have been defined in your hosts.conf(5). If it complains that "Access to that host is not authorized", check that file first. TEMPLATES
The web page that is displayed is actually a template containing commands to upsstats which are replaced by status information. The default file used for the overview is upsstats.html. When monitoring a single UPS, the file displayed is upsstats-single.html. The format of these files, including the possible commands, is documented in upsstats.html(5). FILES
hosts.conf(5), upsstats.html(5), upsstats-single.html SEE ALSO
upsimage.cgi(8) Internet resources: The NUT (Network UPS Tools) home page: http://www.networkupstools.org/ Network UPS Tools 05/22/2012 UPSSTATS.CGI(8)
All times are GMT -4. The time now is 05:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy