Skip to content

Commit

Permalink
[AllBundles]: add crowdin as translator
Browse files Browse the repository at this point in the history
Update config file for syntax

Add upgrade guide for crowdin

Remove API key from repo

Add new polish translation

Add translation website

Add contributing guide

Change doc url

Fix typo

Update domain
  • Loading branch information
sandergo90 committed Nov 16, 2017
1 parent 39c8555 commit e4a4463
Show file tree
Hide file tree
Showing 144 changed files with 7,390 additions and 3,698 deletions.
19 changes: 18 additions & 1 deletion UPGRADE-4.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,21 @@ We added a new caching bundle.

https://github.com/Kunstmaan/KunstmaanBundlesCMS/tree/master/docs/05-14-using-the-cache-bundle.md

This bundle allows you to do stuff with caching. For now it's a starting bundle with the possibility to ban stuff from varnish.
This bundle allows you to do stuff with caching. For now it's a starting bundle with the possibility to ban stuff from varnish.

## Kunstmaan translations with crowdin

We have chosen to make all bundle translations available at the translation platform "Crowdin".

https://crowdin.com/project/kunstmaanbundlescms

If you work on a patch for KunstmaanBundlesCMS, adding new phrases is really simple and works like with any Symfony application.
You add the new translation keys to the YAML formatted files in bundle's Resources/translations directory.

When new phrases are added in English, you have to create an account on translatebundles.kunstmaan.be.
The UI is very intuitive and all you need is to navigate to correct language and start translating the files!

Currently, the synchronization needs to be performed manually.
Kunstmaan team will use the sync commands and add new translations to the GitHub repository.

http://translatebundles.kunstmaan.be/
109 changes: 109 additions & 0 deletions crowdin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
---
base_path: src/Kunstmaan
files:
-
source: /AdminBundle/Resources/translations/messages.en.yml
translation: /AdminBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /AdminListBundle/Resources/translations/messages.en.yml
translation: /AdminListBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /ArticleBundle/Resources/translations/messages.en.yml
translation: /ArticleBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /CacheBundle/Resources/translations/messages.en.yml
translation: /CacheBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /ConfigBundle/Resources/translations/messages.en.yml
translation: /ConfigBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /DashboardBundle/Resources/translations/messages.en.yml
translation: /DashboardBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /FixturesBundle/Resources/translations/messages.en.yml
translation: /FixturesBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /FormBundle/Resources/translations/messages.en.yml
translation: /FormBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /GeneratorBundle/Resources/translations/messages.en.yml
translation: /GeneratorBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /LeadGenerationBundle/Resources/translations/messages.en.yml
translation: /LeadGenerationBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /MediaBundle/Resources/translations/messages.en.yml
translation: /MediaBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /MediaPagePartBundle/Resources/translations/messages.en.yml
translation: /MediaPagePartBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /MenuBundle/Resources/translations/messages.en.yml
translation: /MenuBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /MultiDomainBundle/Resources/translations/messages.en.yml
translation: /MultiDomainBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /NodeBundle/Resources/translations/messages.en.yml
translation: /NodeBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /NodeSearchBundle/Resources/translations/messages.en.yml
translation: /NodeSearchBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /PagePartBundle/Resources/translations/messages.en.yml
translation: /PagePartBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /RedirectBundle/Resources/translations/messages.en.yml
translation: /RedirectBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /SearchBundle/Resources/translations/messages.en.yml
translation: /SearchBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /SeoBundle/Resources/translations/messages.en.yml
translation: /SeoBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /SitemapBundle/Resources/translations/messages.en.yml
translation: /SitemapBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /TaggingBundle/Resources/translations/messages.en.yml
translation: /TaggingBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /TranslatorBundle/Resources/translations/messages.en.yml
translation: /TranslatorBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /UserManagementBundle/Resources/translations/messages.en.yml
translation: /UserManagementBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /UtilitiesBundle/Resources/translations/messages.en.yml
translation: /UtilitiesBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
-
source: /VotingBundle/Resources/translations/messages.en.yml
translation: /VotingBundle/Resources/translations/messages.%two_letters_code%.yml
update_option: update_as_unapproved
preserve_hierarchy: true
project_identifier: kunstmaanbundlescms
1 change: 1 addition & 0 deletions docs/99-00-contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ We follow most of the procedures for contributions from the [Symfony](http://sym
* [Roadmap](./99-05-roadmap.md)
* [Community bundles](./99-06-community-bundles.md)
* [Release process](./99-07-release-process.md)
* [Translations](./99-08-contributing-translations.md)
16 changes: 16 additions & 0 deletions docs/99-08-contributing-translations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Contributing translation

We have chosen to make all bundle translations available at the translation platform "Crowdin".

https://crowdin.com/project/kunstmaanbundlescms

If you work on a patch for KunstmaanBundlesCMS, adding new phrases is really simple and works like with any Symfony application.
You add the new translation keys to the YAML formatted files in bundle's Resources/translations directory.

When new phrases are added in English, you have to create an account on translatebundles.kunstmaan.be.
The UI is very intuitive and all you need is to navigate to correct language and start translating the files!

Currently, the synchronization needs to be performed manually.
Kunstmaan team will use the sync commands and add new translations to the GitHub repository.

Translations can be managed at http://translatebundles.kunstmaan.be/
84 changes: 62 additions & 22 deletions src/Kunstmaan/AdminBundle/Resources/translations/messages.de.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,42 @@
# Pages
---
pages:
title: Seiten
parts: SeitenTeile
draft: Entwurf
pagenottranslated: Diese Seite ist nicht übersetzt
copyfrom: Aus anderer Sprache kopieren
createemptypage: Als leere Seite erstellen

# Modules
movingconfirmation: You are moving "%title%" to "%target%", are you sure?
modules:
title: Module

# Settings
settings:
title: Einstellungen
maintanance: Wartung
scheduled: Geplante Aufgaben
version:
bundle: Bundle Versionen
composer_lock_not_found: Keine composer.lock im Projekt Root gefunden.
error_parsing_composer: Fehler beim Parsen der composer.lock Datei, kein gültiges JSON.
error: Beim Abrufen der Versionen trat ein Fehler auf. Bitte später erneut versuchen.
moreinfo: Zum Aktualisieren composer update ausführen. Bei Konflikten müssen eventuell weitere Bundles aktualisiert.
uptodate: ist aktuell
toupdate: kann aktualisiert werden auf
unknown: unbekannte Version

# Tools
bundle: Bundle Versionen
composer_lock_not_found: Keine composer.lock im Projekt Root gefunden.
error_parsing_composer: Fehler beim Parsen der composer.lock Datei, kein gültiges JSON.
error: Beim Abrufen der Versionen trat ein Fehler auf. Bitte später erneut versuchen.
moreinfo: Zum Aktualisieren composer update ausführen. Bei Konflikten müssen eventuell weitere Bundles aktualisiert.
uptodate: ist aktuell
toupdate: kann aktualisiert werden auf
unknown: unbekannte Version
tools:
title: Helfer
clear_frontend_cache: Frontend Cache löschen
clear_backend_cache: Frontend Cache löschen
clear_all_caches: Alle Caches löschen
shutdown: Herunterfahren

# Forms
search:
title: Search
form:
cancel: Abrechen
delete: Löschen
deletesure: Sind Sie sicher, Sie wollen diese löschen?
edit: Bearbeiten
add: Neu
'add.%subject%': Neu %subject%
'add.%subject%': 'Neu %subject%'
save: Speichern
publish: Publizieren
unpublish: Depublizieren
Expand All @@ -61,13 +56,58 @@ form:
addfilter: Filter hinzufügen
choosetypefilter: Filter aktiv
versions: Versionen

button:
dropdown:
more: More
filter:
clear: Clear
filter: Filter
omnext:
home: Home
title: Willkommen!
welcome: Willkommen.
information: <strong>Information.</strong> Keine neuen Benachrichtigungen vorhanden.

permissions:
you_made_changes: You have made changes to the permissions on this page.
apply_recursively: Apply these changes recursively on all child pages
review_changes: Review your changes
changes: Permission changes
permissions_added: 'The following permissions will be <strong>added</strong>:'
permissions_removed: 'The following permissions will be <strong>removed</strong>:'
role_name: Role name
errors:
oauth:
invalid: You are not able to login to Google OAuth, your domain name is probably not allowed.
oauth:
invalid: You are not able to login to Google OAuth, your domain name is probably not allowed.
kuma_admin:
flash_type:
success: Success
warning: Warning
error: Error
info: Info
danger: Danger
dashboard:
configuration:
title:
label: Title
content:
label: Content (raw html)
edit:
flash:
success: The welcome page has been edited!
password_check:
flash:
error: Your password has not yet been changed
ga_ajax_controller:
flash:
success: Succesfully saved!
media:
flash:
'deleted_success.%medianame%': Entry '%medianame%' has been deleted!
drop_success: File was uploaded successfuly!
drop_unrecognized: Could not recognize what you dropped!
login:
forgot_password: Forgot my password
invalid_credentials: Wrong password or email
kuma_js:
auto_collapse:
more_button_label: More
Loading

0 comments on commit e4a4463

Please sign in to comment.