Metadata

Distro Index Owner:
eea
Home Page:
eea.translations
License
GPL
Version:
7.5
Last updated:
2020-02-19
Keywords:
EEA translation

eea.translations

Files

Indexes

Translations for EEA website. Most translations come from old local.eea.europa.eu website. We also have translated logos here.

EEA Translations

develop master

Translations for EEA website. Most translations come from old local.eea.europa.eu website. We also have translated logos here.

Fixing templates and generate new pot and po files

  1. go to your buildout home directory, e.g.:

    /var/local/deploy/eea-buildout-plone4

  2. check templates for errors and generate the eea.pot file:

    $ tools/translate-check-i18ndude.sh

This script will generate a log with the directories scanned and the errors found. All the reported errors must be fixed.

Important note

In order to be able to successfully run tools/translate-check-i18ndude.sh the PT files that generates XML/RSS must be temporarily altered (more details).

Right now (20.04.2016) there are 2 templates that will generate errors:

TALError: empty HTML tags cannot use tal:content: 'link', at line 12, column 5, in file src/Products.EEAContentTypes/Products/EEAContentTypes/browser/rss.xml.pt

TALError: empty HTML tags cannot use tal:content: 'link', at line 22, column 3, in file src/Products.EEAContentTypes/Products/EEAContentTypes/skins/EEAContentTypes_public/rss_template.pt

To generate the eea.pot file you must temporarily change all the <link> tags to something like <linka>; after the file generation switch back.

  1. generate the po files:

    $ tools/translate-generate-po.sh

  2. start your www1 in debug mode

    $ bin/www1 fg

and check to see there are no warnings like:

2016-04-19 10:58:33 WARNING zope.i18n Error while compiling /var/local/deploy/eea-buildout-plone4/src/eea.translations/eea/translations/locales/it/LC_MESSAGES/eea.po

If there are such warinings, stop www1 and:

$ cd src/eea.translations/eea/translations/locales/

$ ./generate-mo.sh

This script will display the po files with error indicated the exact message, e.g.

bg/LC_MESSAGES/eea.po:3238: keyword "$" unknown

In this case the indicated po file must be opened in your editor; go to that line (3228) and see what message caused the error and where it comes from. After fixging all the errors repeat the process.

  1. use your text editor or Poedit to update the translations in the po files.

Sometimes, it happens that a message is missing from a PO file, let's say the one for Italian (it). In that case, a manual sync must be done:

$ cd src/eea.translations/eea/translations/locales/

$ /var/local/deploy/eea-buildout-plone4/bin/i18ndude sync --pot eea.pot it/LC_MESSAGES/eea.po

$ it/LC_MESSAGES/eea.po: 102 added, 84 removed

After that, reload the PO file and try again.

  1. Wiki: how to manage translations

Funding

EEA - European Environment Agency (EU)

Changelog

7.5 - (2020-02-17)

  • Change: Updated translations [iulianpetchesi refs #114032]

7.4 - (2019-01-28)

  • Jenkins: Add sonarqube step [avoinea refs #101552]
  • Change: cleanup overrides.zcml [alecghica refs #97573]

7.3 - (2018-08-01)

  • Bug fix: Fix typo in Spanish translation [avoinea refs #93770]
  • Change: updated URLs pointing to eea.europa.eu with https:// [alecghica refs #95849]

7.2 - (2017-12-12)

  • Change: Replace eeacms/zptlint with eeacms/plone-test:4 zptlint [avoinea refs #90415]
  • Change: added pdflogo-web.png to be used as logo for EEA website when we are on english [ichim-david refs #88482]

7.1 - (2017-04-24)

  • Change: updated package information [eduard-fironda]

7.0 - (2017-04-04)

  • Change: updated translations for topic names [eduard-fironda refs #83015]
  • Upgrade step: check topic translation were updated under /ro [alecghica refs #83015]

6.9 - (2016-06-02)

  • Bug fix: corrected the translation of "EEA homepage in your language" in danish. [lucas refs #71971]

6.8 - (2016-05-19)

  • Bug fix: Fix pylint warnings [ichim-david refs #71940]

6.7 - (2016-05-04)

  • Update eea.translations with the latest translation strings - renamed README.txt to README.rst [chiridra refs #69753]
  • Update eea.translations with the latest translation strings - documented the process [chiridra refs #69753]

6.6 - (2016-03-31)

  • Change: added pdflogo ar, ga and sr as copies of the english logo until proper logos are made in order to avoid a 404 on these logos [ichimdav refs #26374]

6.5 - (2015-03-17)

  • Change: Switched to curl in the jenkins build install script [olimpiurob refs #22402]
  • Change: Changed fetch url for jenkins build install script to the install script from the main EEA CPB repository [olimpiurob refs #22402]

6.4 - (2014-08-12)

  • Bug fix: Minor correction in danish language [prospchr]

6.3 - (2014-02-03)

  • Bug Fix: Fixed entries in Polish translation. [prospchr refs # 18141]

6.2 - (2014-01-21)

  • Feature: added EEA logos in croatian. [ghicaale refs #17752]

6.1 - (2013-12-10)

  • Bug fix: Added missing entries for MT, BG, FI, HR, NL and SV. [prospchr refs #17058]

6.0 - (2013-11-20)

  • Bug fix: Added missing translations for the publication search page. All eea.po files ve been updated. [prospchr hrefs #17058]

5.9 - (2013-10-25)

  • Bug fix: Added missing translations in eea-manual.pot, updated all po files. Added French translation as well. [prospchr hrefs #17058]

5.8 - (2013-10-04)

  • Feature: Added better resolution i18n logos to be used within PDF exports [voineali refs #14904]
  • Bug Fix: Fixed LocalTimeFormat for the english language. [prospchr refs #9385]
  • Bug fix: Fixed time not displaying correctly when translating events. Typo error in eea.po for DA and DE. [prospchr fixes #16821]
  • Bug Fix: Corrected all Environment topics name in HR. [prospchr hrefs #15572]

5.7 - (2013-09-06)

  • Feature: Added Croatian po file. [prospchr refs #14925]

5.6 - (2013-08-09)

  • Task: French translation updated. [prospchr refs #15572]

5.5 - (2013-06-17)

  • Bug fix: Fixed a mistake in greek translations. [prospchr refs #14299]
  • Bug fix: Finished the translation QA. IS an MT files were recieved, corrected and updated. [prospchr fixes #14299]

5.4 - (2013-04-17)

  • Task: Updated translations for relations, name of faceted tags in advanced search, some missing elements. All languages updated. [prospchr fixes #14162]

5.3 - (2013-03-21)

  • Task: Updated FR translations. [prospchr refs #14162]
  • Bug fix: Updated all po files with missing translations. Added missing entries in manual-pot files as well. [prospchr fixes #14170]

5.2 - (2013-03-18)

  • Bug fix: Updated the new names for relations. [prospchr fixes #14122]

5.1 - (2013-03-15)

  • Bug Fix: Updated latest DA file. Corrected the address on the site. 'Below' is now spelled correctly. [prospchr refs #13770]

5.0 - (2013-03-15)

  • Bug Fix: Quality check languages: DA [prospchr refs #13770]

4.9 - (2013-02-25)

  • Bug Fix: Quality check languages, PL has been revised from letter m untill the end. [prospchr refs #13770]
  • Bug Fix: Added words for the relation widgets. [prospchr refs #13703]
  • Bug Fix: Minor corrections in EL, MT, FR. [prospchr refs #13770]
  • Feature: Added new items to translate for relations, search engine and last products update. Removed items not needed for public view. [prospchr fixes #13827]

4.8 - (2013-01-28)

  • Bug Fix: Quality check languages: ES, TR [prospchr refs #9570]
  • Bug Fix: Quality check languages: EL [prospchr refs #13647]
  • Change: Update the product plone.app.locales to the last version. It contains new translation for the plone domain.
  • Bug Fix: Corrected issues in translations. [prospchr refs #13702]

4.7 - (2013-01-15)

  • Bug Fix: Corrected errors in translations files. [prospchr refs #9570]
  • Bug Fix: Quality check languages: PL, LI, SV, HU, ES [prospchr refs #9570]

4.6 - (2012-11-27)

  • Bug Fix: Quality check languages: NL, NO, PT, ET, IT, LV, BG, CS, DE, FR, HU, SK, RO, SL, LT, FI [prospchr refs #9570]
  • Bug Fix: Corrected bug in README.TXT

4.5 - (2012-09-03)

  • Bug fix: use logos with transparent backgrounds for eea logos [ichimdav #5498]

4.4 - (2012-08-27)

  • Feature: Added missing translations in all po files, included also the translations for manual generated pot file. [prospchr refs #5406]

4.3 - (2012-06-12)

  • Bug fix: fixed markup of HISTORY.txt file [ciobabog refs #5231]
  • Change: remove previously added zh translations since EEA site is not available in chinese (yet). [demarant refs #5200]
  • Feature: Added po (generated by google translation kit) and mo files for: bg, cs, da, de, el, es, et, fi, fr, hu, is, it, lt, lv, mt, nl, no, pl, pt, ro, ru, sk, sl, sv, tr [prospchr fixes #5258]

4.2 - (2012-05-25)

  • Change: Change name of all .po and .mo to reflect the translation domain (eea) [prospchr refs #5180]

4.1 - (2011-11-18)

  • Rerelease broken egg
  • Change: Create backup directory (i18n_backup) for old translations [prospchr refs #5180]
  • Fixes: Add chinese language, code zh [prospchr fixes #5200]

4.0 - (2011-11-18)

  • Feature: Added upgrade steps [voineali #4392]
  • Feature: compatibility with Plone 4.x [tiberich #4286]

0.2 - (2011-03-24)

  • Cleanup: of pyflakes warnings [ichimdav #4141]

0.1 - (2011-02-24)

  • Change: eggified product [ichimdav #2931]
  • Initial package structure [ichimdav #2931]