Code Monkey home page Code Monkey logo

grommunio-cui's Introduction

The Console User Interface (CUI)

The Console User Interface is a text-based interface for managing the basic grommunio Appliance configuration.

1) Installation

To get the CUI running, the Python modules from requirements.txt need to be installed.

2) Configuration

Make sure the path is correctly set:

export PYTHONPATH="$PYTHONPATH:<cui_source_dir>"

or let the install script copy cui.sh to the system:

./install.sh

3) Localisation

First use xgettext from the package gettext-tools and use it to search for T_-function calls and generate the template pot file via:

cd grommunio-cui
xgettext -kT_ -d cui -o locale/cui.pot cui/*.py

and then use msgmerge to merge the new or changed keys into the corresponding language file.

for lang in $(cd locale && echo */); do \
    msgmerge --update locale/$lang/LC_MESSAGES/cui.po locale/cui.pot; \
done

Now give the corresponding po-files to the right translator for translating the added and modified keys. If you get the files back returned from your local translator, you will have to reformat the binary mo-files with the assist of the translated po-files.

for lang in $(cd locale && echo */); do \
    msgfmt -o locale/$lang/LC_MESSAGES/cui.mo locale/$lang/LC_MESSAGES/cui.po; \
done

grommunio-cui's People

Contributors

grammmns avatar jengelh avatar noschmidt avatar grammmike avatar victortesla avatar

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.