Questions tagged [poedit]

Poedit is free software application that allows edit gettext catalogs.

Poedit is cross-platform software and it is open source. It allows to edit *.po files and update them from *.pot catalogs file. It is used in multilingual applications that uses gettext.

As an example for poedit usage, the internationalization features of , in-which the author run command line script that extracts all gettext strings from the application files in *.pot file, then using Poedit, the author edit the terms in the file then saving it as po file in the local directory.

247 questions
0
votes
1 answer

In the Poedit wrong line

I have this line in my php file %1$s has been successfully subscribed to %2$s BUT in the Poedit it looks like that %s has been successfully subscribed to %s AND the line on the website stay untranslated. How to deal…
user2653883
  • 35
  • 1
  • 5
0
votes
3 answers

How to read __() in Cakephp .ctp files with poedit?

How do i use Poedit to read strings embedded in __(). It's a Cakephp .ctp file. At the moment it only works if i remove one underscore: _(). I know how to use the console but i want to use Poedit.
Sultanen
  • 3,084
  • 5
  • 25
  • 46
0
votes
3 answers

Gettext and poEdit doesn't work

I am trying gettext and poedit for the first time after reading an article about it. Gettext is enabled - that's not the problem. The problem is when I use poEdit. I will start showing you my files: #localization.php $locale = "de_DE"; if…
hskrijelj
  • 433
  • 5
  • 16
0
votes
2 answers

Poedit - what does "end-of-line within string" mean?

When I load a catalogue file, I get following errormessage: 12:39:07: /var/folders/l_/10kq10v961s1hxrvldh2x85c0000gn/T/poedittGhuHb/1input.po:7859: end-of-line within string 12:39:07: /Applications/Poedit.app/Contents/MacOS/msgmerge: found 1 fatal…
Marcel C
  • 55
  • 2
  • 8
0
votes
1 answer

PoEdit does not see gettext in html tags

I use PoEdit. It scans all .php files, find each time I use gettext() or _(), and update the .po and .mo files. I have a .php file that has html tags and php in it, like this : …
user1883136
  • 101
  • 10
0
votes
2 answers

translating php strings - include formatting characters or not?

I'm using po files to translate my application using the gettext function. I have a lot of strings using formatting characters like spaces, colons, question marks, etc.... What's best practice here? E.g.: _('operating database: '). DB_NAME. _(' on…
Karl Adler
  • 15,780
  • 10
  • 70
  • 88
0
votes
1 answer

PoEdit and XML-attributes

I am trying to get localization running under windows by using poedit. So far everything is fine. Unfortunately I do have XML-files which require some attributes to be translated. Example:
0
votes
1 answer

Strings in model are not translated

My application has Contact model in app/models/contact.php. I have used _construct to add some list in array which its values should be translated using _('some text',true) as follows: class Contact extends AppModel{ var $sex; function…
SaidbakR
  • 13,303
  • 20
  • 101
  • 195
0
votes
2 answers

Poedit crashes after doing an catalogue update

I tried to update the catalogue from the sources. After finishing the updates poedit crashs. In the command-line-tool i get the following message: b/x86_64-linux-gnu/libdbusmenu-glib.so.4.0.13Aborted (core dumped) I can see how poedit searches the…
bitrevolution
  • 437
  • 6
  • 16
0
votes
1 answer

How to include view variable inside zend translate expression?

I want to display latest 3 news at my homepage. I select the latest news from table from MySql database and assign them to view variables in index controller, like this: $this->view->latestNew = $someClass->getNewsfunction(); Then I declare it in…
Andrei
  • 83
  • 9
0
votes
2 answers

Internationalization CakePHP 1.3 not updating

A long time ago I was developing this project and now I'm back on it. The internationalization was working fine, getting the translations from the folder C:\...\cake\app\locale\por\LC_MESSAGES where I have 2 files: default.mo default.po I edited…
qxlab
  • 1,506
  • 4
  • 20
  • 48
0
votes
1 answer

php gettext and poedit - What would be faster using constructor or without

I store some attributes and their options in class Attributes. public static $ethnicity = array(0 => '-', 1 => 'Asian', 2 => 'Black / African descent', …
user1324762
  • 765
  • 4
  • 7
  • 24
0
votes
2 answers

Zend translate translates to english while locale is set to dutch

My Zend_translate is working but for some reason it only translates to english. Even when my locale is set to Dutch manually it shows the english translations. When I delete the english mo/po files it will use the dutch translations. This is set in…
Sephen
  • 1,111
  • 3
  • 16
  • 38
0
votes
1 answer

How to preserve gettext() translations?

Suppose I have a example.php file like that:

If I extract strings: xgettext example.php I get a messages.mo file, that I can open with poedit, translate, create a…
Ivan
  • 14,692
  • 17
  • 59
  • 96
0
votes
2 answers

Generating a POT file

PoEdit causes problems because it scans also the Python sources in subdirectories where no scan is desired. So I want PoEdit to get new information about strings from a POT file. Here it is said that xgettext enables me to create a POT file from the…
rynd
  • 1,865
  • 5
  • 22
  • 24
1 2 3
16
17