473,804 Members | 2,758 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

gettext() function

Sir

I am confused gettext() function is not working in my php.i try
articles to enable it but did not get any result
Jun 2 '08 #1
4 1327
Abin k Vattakkattu wrote:
Sir

I am confused gettext() function is not working in my php.i try
articles to enable it but did not get any result
"Not working" is not a very good description of your problem. What's wrong?

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Jun 2 '08 #2
Jerry Stuckle wrote:
Abin k Vattakkattu wrote:
Sir

I am confused gettext() function is not working in my php.i try
articles to enable it but did not get any result

"Not working" is not a very good description of your problem. What's
wrong?
He might mean that the GetText library (NLS) isn't enabled in his PHP
build, and that he's trying to make it work somehow.
http://php.net/book.gettext

What he means beyond that, I don't know.

--
Kim André Akerĝ
- ki******@NOSPAM betadome.com
(remove NOSPAM to contact me directly)
Jun 2 '08 #3
On 29 May, 11:21, Kim André Akerĝ <kiman...@NOSPA Mbetadome.comwr ote:
Jerry Stuckle wrote:
Abin k Vattakkattu wrote:
Sir
I am confused gettext() function is not working in my php.i try
articles to enable it but did not get any result
"Not working" is not a very good description of your problem. What's
wrong?

He might mean that the GetText library (NLS) isn't enabled in his PHP
build, and that he's trying to make it work somehow.http://php.net/book.gettext

What he means beyond that, I don't know.

--
Kim André Akerĝ
- kiman...@NOSPAM betadome.com
(remove NOSPAM to contact me directly)
I think that Jerry's point is that he MIGHT mean just about anything!

You chose one possibility, there are many many more.
Jun 2 '08 #4
Captain Paralytic wrote:
On 29 May, 11:21, Kim André Akerĝ <kiman...@NOSPA Mbetadome.comwr ote:
Jerry Stuckle wrote:
Abin k Vattakkattu wrote:
Sir
I am confused gettext() function is not working in my php.i
try articles to enable it but did not get any result
"Not working" is not a very good description of your problem.
What's wrong?
He might mean that the GetText library (NLS) isn't enabled in his
PHP build, and that he's trying to make it work
somehow.http://php.net/book.gettext

What he means beyond that, I don't know.

I think that Jerry's point is that he MIGHT mean just about anything!

You chose one possibility, there are many many more.
I have a certain proficiency in reading bad English (part of my main
employer's development team is in Belarus, and their understanding of
English is basic at the most), so I just pointed out what I understood
from the OP's message.

I'm mainly referring to the part where he said he "try articles to
enable it but did not get any result". A possible translation for that,
is likely "I've tried to follow tutorial articles on how to enable this
function/module, without any luck".

Still, I'd wait for the OP to expand on what he really meant.

--
Kim André Akerĝ
- ki******@NOSPAM betadome.com
(remove NOSPAM to contact me directly)
Jun 2 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1924
by: Daniel CAUSSE | last post by:
Hello, I'm testing gettext on my website but it doesn't work. phpinfo returns correct informations: configure command => '--with-gettext=/usr' GetText Support => enabled I have no problem to create messages.mo and messages.po files. I've created all directories under a 'locale' root directory
1
3634
by: Dave Patton | last post by:
Can someone point me to a definitive source for the answers to the following two questions: 1) In an environment with Redhat Linux 2.4.21-27.0.1, Apache 1.3.31, PHP 4.3.10, and GNU gettext 0.14.1, will using PHP's gettext support along with the GNU gettext utilities work properly? For example, I've seen references to the translated strings in .mo files not always being what appears
3
3649
by: ulysses | last post by:
hi. I use python 23,py2exe 0.4.3 ,wxpython do my py app in win32. I use gettext to support multi languages. I build a small fuction for load language at top of main module. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ def setLan(lan): import gettext langs = gettext.GNUTranslations(open (join ( localPath, ( "lan/"+lan+".mo" ) )
14
2643
by: Pierre Rouleau | last post by:
I have a problem writing self-testable modules using doctest when these modules have internationalized strings using gettext _('...'). - The main module of an application (say app.py) calls gettext.install() to install the special _ function inside Python builtin. Other modules, taken from a general purpose collection of Python modules, also support internationalisation and doctest testing. For example:
2
2223
by: Herbert Straub | last post by:
What could be wrong with this simple test program: #include <string> #include <iostream> class foo { std::string s; public: foo (const char *a) : s(a) {};
13
3971
by: cantabile | last post by:
Hi, I'm failing to make it work but can't find out what's wrong. Here's what I do : ================ test.py import gettext gettext.install('')
1
3254
by: James T. Dennis | last post by:
You'd think that using things like gettext would be easy. Superficially it seems well documented in the Library Reference(*). However, it can be surprisingly difficult to get the external details right. * http://docs.python.org/lib/node738.html Here's what I finally came up with as the simplest instructions, suitable for an "overview of Python programming" class: Start with the venerable "Hello, World!" program ... slightly modified
6
2043
by: =?iso-8859-1?B?QW5kcuk=?= | last post by:
I've encountered a problem using gettext with properties while using a Python interpreter. Here's a simple program that illustrate the problem. ============== # i18n_test.py: test of gettext & properties import gettext fr = gettext.translation('i18n_test', './translations',
2
4442
by: paolob | last post by:
Hi to all, I'm running php 5.2.5 on Debian etch, with apache 2.0.56. I need to include, in php.ini, gettext.so library but I didn't find anything. I've already install: apt-get install gettext apt-get install php-gettext apt-get install php5-cli apt-get install php5 php5-common
0
9705
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10323
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10311
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9138
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7613
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6847
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5516
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4292
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.