Solved

PHP gettext

Posted on 2008-06-10
2
731 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
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…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

738 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