Anton Puttemans | 14 Sep 2010 21:13
Picon

[poedit-users] Using Poedit with XAMPP

I am struggling for quite a while now to get into translation files with PHP's gettext() function and
creating the files with Poedit. Poedit didn't come with a helpfile either and I tried lots of things found
online but nothing works.. 
I am on Mac OSX with an XAMPP configuration.

on OSX my XAMPP dir is

/Applications/XAMPP/xamppfiles/htdocs

inside this dir I created gettext.php with

<?php
echo _("Hello World");
?>

and the following folders:

/locale/
/locale/it_IT/LC_MESSAGES/

With Poedit when I do
> File > New Catalog

- Project info
Language: Italian
Country: Italy
Charset: UTF-8
Source code charset: UTF-8

- Paths
(Continue reading)

Vaclav Slavik | 20 Sep 2010 11:51
Picon
Gravatar

Re: [poedit-users] Using Poedit with XAMPP

On 14/09/10 21:13, Anton Puttemans wrote:
> 13:04:10: Poedit did not find any files in scanned directories.

You need to add paths (relative to the Base path) to the Paths list too.

Vaclav

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev

Gmane