?
Solved

PHP gettext

Posted on 2008-06-10
2
Medium Priority
?
736 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 2000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
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…
Suggested Courses

771 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