Git Product home page Git Product logo

mlocati / betterpoeditor Goto Github PK

View Code? Open in Web Editor NEW
40.0 40.0 10.0 5.73 MB

Better PO Editor is an editor for .po files, used to generate compiled gettext .mo files which are used by many programs and websites to localize the user interface. It offers great features... It's worth to give it a try!

License: Other

Shell 0.11% C# 93.27% Makefile 0.25% Batchfile 0.15% Inno Setup 0.31% Smalltalk 5.90%

betterpoeditor's Introduction

Some stats about my activity on GitHub

betterpoeditor's People

Contributors

bitdeli-chef avatar danielgasser avatar freddii avatar mlocati avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

betterpoeditor's Issues

hardcoded base language

In frmMain.cs, at line 1153, there's a hard-coded "en" base language for Bing translations:

string translated = Utils.BingTranslator.Translate("en", this.CurrentPO.Language.TwoLetterISOLanguageName, from.Text);

Since it is possible to use gettext with a base language other than english, it would be useful to have a way to specify it, either as a config option, a selection in the form, or other means.

Allow \' inside msgid

Currently /' is not accepted by your application.

Recommend to allow escaped single quotes inside msgids and msgstr.

ID started more than once

It seems that the program does not recognize entities with no whitespace between them. But according to https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html the whitespace is optional.

For example, a .po file with the following content is open the error message lead to "ID started more than once." is triggered.

msgid "one"
msgstr "uno"
msgid "two"
msgstr "dos"

At the same time a file with the following content is parsed fine:

msgid "one"
msgstr "uno"

msgid "two"
msgstr "dos"

I'm using version 1.2.0.

Copy from source, header info

I miss shortcut to "copy from source" - you guessed it, function to copy and paste original text from source. Especially helpful if there is ton of variables inside a string. Another thing I am missing is any way to edit header info (plurals, translator mail, name and other file info). Other than that betterpoeditor has superior UI to all of its windows alternatives.

I found your software through http://alternativeto.net/software/better-po-editor/ and I am not really sure you have any intention in further development, but if not, it is a shame since your editor has the best interface and poEdit is slowly turning to s**t.

Minor UI improvement

When I load a PO file, the button "Untranslated" is active by default. Due to that, I couldn't see anything after the file was loaded. So far so correct, but what I found a bit confusing is the progress bar in the status bar. It stays "green" at 100%, I kind of expected that there would be some kind of feedback.

Either remove the loading information or replace it with "file successfully loaded".

image

Bing Translation function doesn't work anymore?

Seems that Azure has changed how the translate service works?
I tried to use what they have now, and I get a message that says:
"Error verifying the Bing translator parameters: The remote name could not be resolved: datamarket.accesscontrol.windows.net"

And the links don't all work either, specifically the "Translate service' one, the "reported here" works but I think it is actually out of date!

Compile on save throws an error for multi line mdgids

Mind you have such valid message ids in your po file:

msgid ""
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
"XXXXXXXXXXXX"
msgstr ""

msgid ""
"YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY"
"YYYYYYYYYYYYY"
msgstr ""

The editor does them show correctly, but your compiler throws an fatal error because of dublicates.

Recommend to take multi line msgids in account.

Error message loading .po file

mlocati:
Trying to open a .po file to try out your PO editor, I get this msg:

Error at lines 1~3:

Unknown entry kind.

These are lines 1-3 (which are just comments as generated by my compiler):

This file is generated by Harbour 3.2.0dev (Rev. 18103)

Any way to avoid the above other than having to remove those line everytime I merge my .po files before editing?

Regards,

Mac Edition

Could anyone compile a Mac edition?

Thank you in advance,
Radulph

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.