Code Monkey home page Code Monkey logo

lxqt-l10n's Introduction

lxqt-l10n

Overview

This repository is providing translations ("localization") in terms of the Qt TS files of all components maintained by the LXQt project.

The transfer from the components' distinct repositories to this single one was made in order to ease handling the translations by systems like Pootle or Transifex which is the long-term goal.

Desktop Entry files (*.desktop) remain in the distinct components' repositories for the time being as these are not yet covered by Pootle or Transifex anyway.

There are two ways to make use of the translations summarized in this repository.
Components can pull their translations from this repository at build time. This is what all components covered by this repository are doing by default right now.
The repository can be built independently of the other components. This allows for building the translations without downloading at build time which in turn can mitigate restrictions of build systems. Building the repository that way can be favourable regarding performance as well as the repository itself is architecture agnostic so translations have to be built once only instead of one time per component and architecture. The repository can be built as a whole, splitting into several packages is possible as well.

Compiling

General

Git, CMake, qttools and LXQt component liblxqt as well as its dependency libqtxdg are needed to build translations from this repository, no matter whether components are pulling from this repository or the repository is built itself.

Pulling translations at build time

With regards to downstream packaging it's worth noting that the prerequisites stated above may have to be added to packages providing components like ComptonConf which don't need them at runtime and hence eventually didn't need them at all so far.

All components are by default pulling their translations at build time right now. This can be toggled by a boolean CMake variable PULL_TRANSLATIONS.

Building the repository itself

A selection which components shall be considered can be made by a boolean CMake variable WITH_<component>, e. g. WITH_LXQT_PANEL. It defaults to ON for all components included in this repository. CMake variable PULL_TRANSLATIONS as stated above has to be set to OFF in all components which are meant to be covered by repository lxqt-l10n as file conflicts will result otherwise.

To build run trias cmake, make and make install as usual. Make target install accepts a variable DESTDIR=<path>.

Contributing

As tools like Pootle or Transifex haven't been implemented yet we have to ask users to take a not too convenient approach which involves dealing with local source code checkouts.
It is depicted in wiki page Translation.

lxqt-l10n's People

Contributors

agaida avatar amoskvin avatar attuska avatar brother avatar dglent avatar f2404 avatar helix84 avatar helixbot avatar ilya87 avatar jleclanche avatar jubalh avatar kermit avatar lstranger avatar luis-pereira avatar mika-k avatar napcok avatar palinek avatar paulolieuthier avatar pcman avatar peterjespersen avatar pjotr123 avatar pmattern avatar pvanek avatar rbuj avatar smarquespt avatar sokoloffa avatar stefonarch avatar surlykke avatar thomasvie avatar zvacet avatar

Watchers

 avatar  avatar  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.