How to efficiently work with gettext PO files when making small edits to large text values
Looking for tips and/or tools on how to efficiently work with gettext PO files when making small edits to large msgid values.
Example: We have lots of multi-sentence/multi-paragraph messages that are stored in our PO message catalog files. If we make a very minor change to a message, perhaps editing a single sentence or even correcting punctuation, we lose our original translation when we run the msgmerge utility.
Rather than re-translate long messages (that have already gone through an editorial approval process) from scratch, our translators return to backup copies of their PO files and manually search for the text of the last msgid/msgstr translation pair which they then diff against the current msgid values to see what has changed, followed by a copy and paste of the last translation which they then edit to reflect the updated msgid value.
That's a lot of work! Certainly there must be a better way of handling this type of workflow?
Is there a best practice way to archive and find previous translations that are no longer in a PO file? One idea that comes to mind is to store a unique msg id in the text of our messages or in the comments that precede our message and use this id to retrieve previous msgid/msgstr translation pairs for review. Or are there PO editors or online services that make this process more efficient?
Thank you, Malcolm
I'm setting up a multi-language using gettext. Since all text from other languages are in the compiled .mo files. How should I attack the search function of the site? Any help or point of direction wo
I have several text edits in a table layout. With small values, the TextEdits stretch to the edge of the screen. However, large values cause the TextEdits to expand past the screen edge. How do I keep
Does anyone know how I can store large binary values in Riak?
I created 4 different layout files and placed it in layout , layout-small,layout-large,layout-xlarge. folder and TESTED IN QVGA,HVGA,AND WXGA EMULATOR. But it is only taking the default layout(which i
I've read the GNU Gettext manual about Translating plural forms and see its example: #, c-format msgid One file removed msgid_plural %d files removed msgstr %d slika je uklonjena msgstr
I need to extract text from large files(max limit 50MB) Files may be doc,ppt,xls,txt or pdf format. So far I've used Apache POI 'http://poi.apache.org/' For Microsoft Office documents and PDFBox to ex
I'm trying to resolve one problem referred to protractor getText(). I have a code which finds successfully an element: var $editTrigger = $('[ui-view=hcp] .m-pane__control__trigger'); then execute
I'm new to Python and Django. I want to start a Django multi langual project. I see that I should use gettext to translate the strings but I'm not getting how it works. For example. My main language i
EDIT: These files are posted to a web server I'm working on, I don't have them all at hand right now, only a representative sample. I've got large kml files (magnitude 80000 lines), possibly larger,
I want to split a csv file into multiple small csv files using perl. My csv file contains: 16047710472 4 12899376478 3 14034211945 3 16132767680 4 17059884442 4 17808605446 3 15144433554 5 15145869428
Is anyone aware of a project that can effectively combine git version control for text-based files and something like rsync for large binary files (like data)? Obviously, this is a little beyond what
I'm trying to generate a large data file (in the GBs) by iterating over thousands of database records. At the top of the file are a line for each feature that appears latter in the file. They look l
I'd like to maintain my native language translation for a CodeIgniter-based application. However, translation files are in app_lang.php file as content of the array, and I'd like to use 'standard' get
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/MO
How can i change the background color of input fields using CSS of fields with text type when user enters invalid values ?
I wanted to create a translator for PO files but I thought that it's better to ask whether there is a library for .Net to parse .PO files or not. Thanks.
I'm new to vbscript and I'm having trouble with something that should be relatively easy. I have two very large text files that I have to split into many different text files based on certain lines in
I'm surprised by how long it takes R to read in a specific line from a large file (11GB+). For example: > t0 = Sys.time() > read.table('data.csv', skip=5000000, nrows=1, sep=',') V1 V2 V3 V4 V5
I have a file which contains around 1 crore rows and size is around 400mb , my system is just not able to handle it . when i try opening the file using gedit , it just gets stuck . Is there any way to
I'm looking at using xgettext to aid translation of large codebase, and I have two questions: if I have one .po file per-language, is there an easy way to update them all using a single xgettext scan
For my CakePHP 2.3 application, I created pot file and created po files with Poedit. But I have nearly 100 strings and 12 languages. So in every change/add I don't want to recreate pot files and add p
I have to read a large text file (> 10 GB) in C++. This is a csv file with variable length lines. when I try to read line by line using ifstream it works but takes long time, i guess this is becuas
I am working on a PHP project that now switched to using Gettext-based language files for localization stuff. Before that, we simply used files with PHP dicts (arrays) instead. Until now we had templa
Online editing gettext files, is it possible? I use gettext for all my PHP projects, but sides with a minor problem, want to mine user may translate my language from as Danish to Norwegian, but in thi
I was looking at this question about how to efficiently check if a value is an integer. One answer recommended using n === (n|0) for some quick rounding via the | operator. On a whim, I decided to tes
String str = Clipboard.GetText(); throws an exception An unhandled exception of type 'System.StackOverflowException' occurred in PresentationCore.dll How do I prevent this problem?
How to use ssh2_scp_recv with very large files without extending memory limit?! When I try to download very large files I end up hitting the memory limit!? update private function ssh_copy($host, $fil
I know this is probably a newbie mistake that I deserve generic criticism for, but I was hoping someone had workaround. I'm trying to work out this program to edit a large number of very large text fi
I've got a large DataFrame(600k,2) named data and basically I have in the second column a set of 50k unique values distributed along the data. The data looks like this image_id term 0 56127 23001 1 5
I have a C# app that needs to add large amounts of text to a SQL Server database (one row could have up to 1GB of text). So, I have some code that looks like: SqlParameter param = command.Parameters.A
Can't seem to find anything online. Frequently spend time editing multiple text documents at the same time and loose track of which ones I have edited. When I close I am not always sure whether I have
I added one library for gettext translation. Added corresponding po and mo files. And the translation is working fine. Now when I update my po file, change some translation.. after that when I reload
First, my issue is similar to those two : JAVA gettext commons error reading .po file in java I want to use GNU Gettext utility for internationnalizing my app. I managed to get it working by creating
I’m working with Lucene 2.4.0 and the JVM (JDK 1.6.0_07). I’m consistently receiving OutOfMemoryError: Java heap space, when trying to index large text files. Example 1: Indexing a 5 MB text file runs
I am building an MPDF code, with information fetched from the database (that information was inserted in another page). When the user inserts too much text, the string becomes large and, when it's pri
I was hoping someone could help me. I have been trying to solve this problem where my large source files opened in NEtBeans ends up garbled unreadable text. At first I thought it was netbeans but then
I have the following gettext .po file, which has been translated from a .pot file. I am working on a Linux system (openSUSE if it matters), running gettext 0.17. # # <email@example.com>, 2011
I try to write a dictionary extension for Google Chrome. Now, I want to pop out a small box when I double click to select text . How can I implement it :) Or like this one ( Fastest Chrome ). They're
How would I get python to work with values of the order of magnitude of 1099511627776 bits large (yeah. 137 gb)? I some what need to implement this (or if you can suggest a better way to do it, will c
I'm going to work on comparing around 300 binary files using Scala, bytes-by-bytes, 4MB each. However, judging from what I've already done, processing 15 files at the same time using java.BufferedInpu
I am coding a forum system using PHP. I am currently storing a threads ID, title, author, views and other attributes in an SQL database and then storing the thread body (the HTML and BBcode) in text f
I am trying to split a large data file into several small text files. The following code opens and closes a new file every time, which is not feasible. Is there an alternative way of doing this? ifst
I am currently working on a tool that will allow Wiimote to be used as computer mouse and am stuck in a problem. The wiimote returns x and y co-ordinates which are very small as compared to screen res
I have two medium-sized web applications that I'm merging into one. They are both localized with GetText and have large amout of common strings, so merging them manually would be extremely annoying. W
In some machine there are almost five millions of small (50KB) text files. I need to send them to another machine on our LAN. I tried doing scp *.txt remote_machine: since ssh connection is setup pas
I'm having a performance problem with filtering a large NSArray (19k items) for interactive auto-completion on the iPhone. Currently, whenever the user types a letter into a search box, I start filter
I have a problem with CSS values larger than 2¹⁵ in Opera, such as width:32999px. I want to know how large the values can be in CSS or HTML, depending on the browser.
In F#. How to efficiently compare floats for equality that are almost equal? It should work for very large and very small values too. I am thinking of first comparing the Exponent and then the Signifi