Giter Site home page Giter Site logo

gettext-mini's Introduction

# Intro

gettext-mini is a clone of gettext-tiny but made with autotools.

** PROJECT STATUS: unstable, porting in progress **

Original source: https://github.com/AdelieLinux/gettext-tiny

Just like gettext-tiny, this is a lightweight replacement for GNU's
`gettext`, which is incredibly bloated and takes a lot of time to 
build (in the order of an hour on slow devices). The most notable 
component is `msgfmt` which is used to create binary translation files 
in the .mo format out of textual input files in .po format. this is 
the most important tool for building software from source, because 
it is used from the build processes of many software packages.

Unlike the GNU implementation of `msgfmt`, this project's implementation
can expand input strings containing so-called sysdep strings into a 
constant translation table. sysdep strings were glued as an 
after-thought onto the GNU implementation to deal with system-specific 
format strings, and in the GNU implementation those are created at 
runtime, which requires mapping the entire .mo file into read/write 
memory locations, thereby wasting precious RAM for read-only data 
that could otherwise be shared among processes. 

Other parts of gettext-mini such as xgettext and msgmerge are still 
stubs, but they are sufficient to build many packages.

This project is geared for musl libc, so `libintl` will be a compat
library providing a few compatibility symbols meant to be used 
together with the libintl built-in into recent musl versions. the 
compatibility symbols help to get past configure scripts that 
insist on using only the GNU gettext suite. additionally, it can 
be entirely disabled.

gettext-mini's People

Contributors

dslm4515 avatar firasuke avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

plan10os

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.