potgun POTGun

A POT file generator for LibreOffice documents and macros string constants.

★ ★ ★ ★ ★
Download latest

latest release: 2024-03-13 01:47:04

Description

PO (and POT) files are an easy means for on-the-fly translation of all applications strings (dialogues and all kinds of messages).

POTGun is a localization tool (aka L10N) for your LibreOffice macros and extensions developments. For this, it creates POT files (portable object templates), as promoted by the GNU gettext project, from strings contained in your LibreOffice macros and dialogues. POTGun code implements a complete strings translation solution.

POTGun:

  • Processes all known macro libraries (from MyMacros and global macros) and any LibreOffice opened document.
  • Takes the custom prefix or suffix (alias affixes) used to identify L10N constant strings in your code. Multiple affixes are supported.
  • Extracts all strings from code string constants that fit the affix query.
  • Extracts all strings from dialogues (title, labels, help text, listboxes and combo boxes contents).
  • Saves the extracted strings to a POT text file that complies with that format.
  • Allows to insert custom translator notes at the POT file beginning.
  • Can save the settings so that they are retrieved at POTGun next start.
  • Is a self-demo: it contains all the necessary code to implement the solution.
  • Comes with a help file.

Limitations

  • As of current version, POTGun doesn’t supports all the GNU gettext features, in particular plural forms.

Release List

Release Description Compatibility Operating Systems License Release notes   Version 0.7.0 First public version. 6.2 Linux, Windows GPL

First public version.

Download Version 0.7.0 First public version. 6.2 Linux, Windows GPL

First public version.

POTGun version 0.7.1 Fixes a bug 6.2 Linux, Windows GPL

Fixes a bug that could only be detected under Windows.

Download

Other Extensions

Styles Reporter

A Calc and Writer document styles report tool.

03-2024

287

★ ★ ★ ★ ★

UserFieldsMgr

Outils de gestion des champs d'utilisateur (aka champs maîtres)

02-2024

108

★ ★ ★ ★ ★

ODF2PDF

ODF2PDF is a batch export tool for ODF documents to the PDF format.

03-2024

16346

★ ★ ★ ★ ★

POTGun

A POT file generator for LibreOffice documents and macros string constants.

03-2024

72

★ ★ ★ ★ ★

InLine Headings

An inline (or run-in) headings generator for LibreOffice writer documents to comply with some academic reports constraints.

03-2024

296

★ ★ ☆ ☆ ☆

VersionMgr

VersionMgr is a tool to manage your LibreOffice document version numbers.

03-2024

366

Not rated yet

Feedback

★ ★ ★ ★ ★

Post your review

You cannot post reviews until you have logged in. Login Here.

Reviews

  • the east Dec 24, 2021, 5:59 AM (2 years ago)

    ★ ★ ★ ★ ★

    Very nice extension but please consider adding text theme for dark background. My eyes would be thankful for that :)

RSS feed for reviews on this page | RSS feed for all reviews