poedit Questions
5
Solved
I MANUALLY created a file: test.po with the contents:
msgid "greeting"
msgstr "Hello World"
Now I can edit the translation (hello world) in editors like "poedit" and "GTranslated" (I'm using ...
Gavriella asked 6/10, 2011 at 20:23
4
Solved
On Windows using WAMPserver (Apache, MySQL, PHP) I have the following:
//test.php
if (!defined('LC_MESSAGES'))
define('LC_MESSAGES', 6);
$lang = "sv";
putenv("LANG=$lang");
setlocale(LC_ALL, $lan...
Ybarra asked 25/3, 2010 at 9:53
4
Solved
I have started using gettext for translating text and messages i send to user.
I am using poedit as an editor, but i am struggling with dynamic messages.
For example i have things like the login w...
Vietcong asked 16/5, 2009 at 18:36
4
Solved
i am using Gettext.js library to localize my contents generated from a JS file. Now the situation is, i have to create and write each and every po files manually. I know we can scan php files for g...
Sphingosine asked 15/5, 2013 at 5:11
1
Solved
I'm getting duplicate message definition errors in POEdit and I cannot update from that catalog.
POEdit doesn't show details and the line numbers in the errors don't match.
How can I find what is...
Forcefeed asked 11/3, 2017 at 13:52
3
Solved
I want to parse twig templates for Timber with poedit and I need to translate quoted contents. The problem is that I can't find a parser that does not skip quoted content.
Example:
<htmltag at...
Calciferol asked 29/7, 2016 at 18:47
3
I'm looking for a front-end to google translate that supports translating GNU gettext PO files with NGETEXT style plurals, eg. msgid_plural, msgid[0] ... msgid[n].
I've found several free translat...
Haddad asked 25/5, 2010 at 16:20
2
I have created a WordPress theme that I wish to translate.
Inside my theme I use some translations from woocommerce (i.e. <?php _('Your cart', 'woocommerce'); ?>).
Theese woocommerce string...
M16 asked 24/5, 2015 at 10:3
1
I'm having a problem with Laravel's blade templating syntax.
When having something like:
<input placeholder="{{ __('My Tooltip') }}" />
that string won't be founded by POEdit. But ...
Wadsworth asked 12/12, 2015 at 18:13
1
Solved
I'm working on a Wordpress site using Timber as templating engine (twig for Wordpress). I want to translate the interface using the Wordpress gettext mechanism via PoEdit (uses xgettext).
Template...
2
Solved
I have been trying for hours finding a way to setup POEdit so that it can grab the text from specific domain only
My gettext function looks like this:
function ri($id, $parameters = array(), $dom...
1
Solved
Cake version is 2.x. I have extracted all the texts inside __ function with ./Console/cake i18n extract command, moved the default.pot file into app/Locale/[iso3]/LC_MESSAGES/default.po and transla...
Hone asked 31/8, 2015 at 14:33
3
Solved
I'm trying desperately to create a catalog (. In) for my new application in php.
1) I created a file "trans.php" where I put all the values to be translated
For example, here is my file:
<?p...
3
I'm developing a Zend Framework 2 application an having a problem with translations. Actually in the view scripts a can use the view helper Translate. Since I defined "translate" as a source keywor...
Herzberg asked 12/4, 2013 at 10:58
2
Solved
I'm trying to get Smarty and gettext to work together in a project of mine. Currently smarty uses .tpl files for its template system.
I use PoEdit for creating catalog files and I've added '*.tpl' ...
2
I am using poedit to translate my gettext strings. I´m using ID´s to translate, so for example the following ID:
"msg_forgot_pw"
would be translated to:
"I have forgot my password"
The s...
1
Solved
I am trying to have poedit create a catalog on my PHP project.
It crashes on a Non-ASCII character in some of my files.
Since the project is quite big, I was wondering if it was possible to run po...
2
Solved
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 t...
4
Solved
I found this cool js gettext library -> http://code.google.com/p/gettext-js/ but I don't understand how to implement it. I am using poedit to edit the translations and I can see that it works when ...
Domicile asked 28/1, 2010 at 5:13
8
Solved
I'm looking for a .po/.mo editor. I am using gettext for the translation files but don't really like Poedit. It has to run on Windows Vista and it would be even better if it was built into Vi...
Gyniatrics asked 25/12, 2008 at 22:52
2
I'm looking for a way to make PoEdit understand PHP annotations. Here's a sample of code I want PoEdit to pick up and put into catalog:
class MyController extends Controller {
/**
* @Title "Hom...
Nielsen asked 19/7, 2012 at 14:48
6
I am trying to use the PHP gettext extension in order to translate some strings. All functions appear to return the correct values but calling gettext()/_() returns the original string only. The PO...
Paperweight asked 7/5, 2012 at 18:4
1
Solved
How to calculate a number of words in PO file?
Poedit shows only lines count.
Any help will be appreciated.
Prodigious asked 18/4, 2012 at 21:7
2
Solved
I incorporated a gettext-like localization system in my app, but my translation function looks like this:
t($category, $string, [$plural_string, $number, $vprintf_arguments])
My PoEdit keywords...
Dyne asked 6/12, 2011 at 22:31
3
Solved
I've coded a gettext wrapper that makes the whole process of l10n a little bit simpler but somehow I can't get PoEdit to correctly identify and parse plural version calls to the function. This is w...
Bresee asked 3/8, 2010 at 2:3
1 Next >
© 2022 - 2024 — McMap. All rights reserved.