Topic: Poedit msgid limitation

Hi all,
I was translating the original empty.po with Poedit 1.5.4 and i realized Poedit only let 70 character to use in msgid section and if there was more than 70 character ( it's related to character to be as number, space , ... ) it just split into two parts like >>

#: sales/customer_delivery.php:285 sales/sales_order_entry.php:505
#: sales/includes/ui/sales_order_ui.inc:249
msgid ""
"The delivery cannot be processed because there is an insufficient quantity "
"for item:"
msgstr ""

and that's why it will not show the translated phrase , coz the msgid is now empty and it will just show the phrase in that .php files
i know we can edit the .po file with text editors or some thing like Dreamweaver ... but each time you saved this file with Poedit it will do the same thing .. and this make really pain about it.

so any one know about another editor like Poedit with no limitation .. or any other solution
or please tell me where is my fault.

Thanks to all

Re: Poedit msgid limitation

Manual Edit using Notepad++ and compile using msgfmt in CLI.

Quote from Mercurial Mercurial Formatting Translations:

short description, starting with lowercase

    Larger description of the command. Each paragraph should be word-wrapped
    at 70 characters and indented with 4 spaces.

    Paragraphs are separated by a single empty line. Use a single space
    between sentences.

Re: Poedit msgid limitation

Hello, Apmuthu
thanks for reply

but sorry i couldn't understand what you mean ... so it's not possible to making any paragraph with more than 70 characters?
and what is that CLI?

Re: Poedit msgid limitation

CLI - Command Line Interface (DOS Prompt in Windows, Terminal in Linux)

Yu can have as many characters as you want in a line and compile ith .po file to .mo using the msgfmt command in the PoEdit install folder. I trust you are using Windows (possibly XP):
   C:\Program Files\Poedit\bin\msgfmt.exe

Place your mylang.po file in the folder: C:\Program Files\Poedit\bin
Start -> Run -> cmd
cd C:\Program Files\Poedit\bin\
msgfmt mylang.po
Take the mylang.mo file from the same folder.

Re: Poedit msgid limitation

thanks a lot apmuthu for explanation about CLI and solution

I found a way to fix this problem too, so i want to share it here for all
this .po editor work fine with all length paragraphs and have functionally search too
so i suggest this one to use
" but if some of your .po file's msgid are already splitted you need to fix them first with a note pad editor or similar thing, then you can use with this editor .. or just start to use a fresh empty.po file"

Better PoEditor

https://sourceforge.net/projects/betterpoeditor/files/

6 (edited by apmuthu 03/08/2013 11:53:36 am)

Re: Poedit msgid limitation

Thanks for the info @Berctain.

Others in this genre are:

Multi Po-edit A Java swing .po file editor that displays comments, ids, and translations in a JTable. Multiple files can be compared and IDs can be looked up to see what files will be affected by the change.

and

Massively Parallel PO Editor for editing multiple language files in parallel. Corresponding translations are automatically highlighted in order to aid reviewing against multiple sources.

Wiki-ed it.

Re: Poedit msgid limitation

Notifications :
Better PoEditor have not any function to update .po files with new files
nothing is perfect in this world big_smile

Re: Poedit msgid limitation

Welcome in real world smile.
You can use msgmerge program from gettext suit to merge old translations with  latest template found in lang/new_language_template.
Janusz

Re: Poedit msgid limitation

Merge PO files with msgmerge

Re: Poedit msgid limitation

Thanks for reply

Unix Based system!! big_smile

Re: Poedit msgid limitation

On WinXP install TortoiseGIT and you will get a right-click (on any folder) context menu - Git Bash here.
Use it to do LINUX work on Windows!

Re: Poedit msgid limitation

ohhh, cool
but will it work on WIN7 .. actually im using Win7 Ultimate

Re: Poedit msgid limitation

I see no reason why it should not work in Win7 (atleast in WinXP compatibility mode). You can still run WInXP in VMWare / VirtualBox / QEMU and run TortoiseGIT.