Solved

PHP gettext

Posted on 2008-06-10
2
728 Views
Last Modified: 2008-06-28
I am setting up gallery2 on my local computer. I have apache server running. I get this error. How do I set up get text. In the php configure? I don't want to touch anything that would mess up other stuff.

Your webserver does not support localization. To enable support for additional languages please instruct your system administrator to reconfigure PHP with the gettext option enabled.
0
Comment
Question by:sendhelp
2 Comments
 
LVL 9

Expert Comment

by:syedasimmeesaq
ID: 21755288
you need to compile PHP with the --with-gettext option
Thanks
0
 
LVL 48

Accepted Solution

by:
hernst42 earned 500 total points
ID: 21755325
which OS? If windows locate your php.ini, and add/uncomment the line
extension=php_gettext.dll
restart the webserver and the gettext extension should be available. For Unix search in your package management for gettext and there might be a package for php-support.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now