j1-template 2022.0.9 → 2022.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/modules/ads/google_ad_content_home.html +11 -0
- data/_includes/themes/j1/modules/ads/google_ad_top_home.html +11 -0
- data/apps/public/cc/index.adoc +0 -1
- data/assets/data/article_navigator/index.html +0 -1
- data/assets/data/news_panel_posts/index.html +0 -1
- data/assets/error_pages/HTTP445.html +5 -4
- data/assets/error_pages/HTTP446.html +2 -2
- data/assets/error_pages/HTTP447.html +110 -0
- data/assets/error_pages/HTTP448.html +111 -0
- data/assets/themes/j1/adapter/js/advertising.js +442 -0
- data/assets/themes/j1/adapter/js/algolia.js +10 -13
- data/assets/themes/j1/adapter/js/analytics.js +259 -0
- data/assets/themes/j1/adapter/js/asciidoctor.js +10 -13
- data/assets/themes/j1/adapter/js/attic.js +10 -5
- data/assets/themes/j1/adapter/js/bmd.js +10 -14
- data/assets/themes/j1/adapter/js/carousel.js +10 -13
- data/assets/themes/j1/adapter/js/clipboard.js +9 -10
- data/assets/themes/j1/adapter/js/comments.js +407 -0
- data/assets/themes/j1/adapter/js/cookieConsent.js +107 -84
- data/assets/themes/j1/adapter/js/fab.js +11 -11
- data/assets/themes/j1/adapter/js/framer.js +59 -64
- data/assets/themes/j1/adapter/js/j1.js +203 -258
- data/assets/themes/j1/adapter/js/justifiedGallery.js +12 -14
- data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +10 -13
- data/assets/themes/j1/adapter/js/lightbox.js +12 -9
- data/assets/themes/j1/adapter/js/logger.js +11 -5
- data/assets/themes/j1/adapter/js/mmenu.js +11 -12
- data/assets/themes/j1/adapter/js/navigator.js +13 -12
- data/assets/themes/j1/adapter/js/quicksearch.js +10 -13
- data/assets/themes/j1/adapter/js/rouge.js +11 -14
- data/assets/themes/j1/adapter/js/rtable.js +10 -13
- data/assets/themes/j1/adapter/js/rtextResizer.js +10 -13
- data/assets/themes/j1/adapter/js/scroller.js +14 -12
- data/assets/themes/j1/adapter/js/themer.js +12 -3
- data/assets/themes/j1/adapter/js/toccer.js +10 -13
- data/assets/themes/j1/adapter/js/translator.js +50 -96
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +6 -0
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +13 -5
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/advertising/js/google/adInitializer.js +127 -0
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +11 -2
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +1 -1
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.2.js +1 -1
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.js +1 -1
- data/assets/themes/j1/modules/scroller/js/scroller.js +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +1 -13
- data/lib/starter_web/_data/apps/carousel.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/carousel.yml +3 -2
- data/lib/starter_web/_data/apps/defaults/justifiedGallery.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/lightGallery.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/lightbox.yml +2 -2
- data/lib/starter_web/_data/apps/justifiedGallery.yml +2 -2
- data/lib/starter_web/_data/apps/justifiedGalleryCustomizer.yml +2 -2
- data/lib/starter_web/_data/apps/lightGallery.yml +2 -2
- data/lib/starter_web/_data/apps/lightbox.yml +2 -2
- data/lib/starter_web/_data/blocks/banner.yml +3 -2
- data/lib/starter_web/_data/blocks/defaults/banner.yml +9 -0
- data/lib/starter_web/_data/blocks/defaults/footer.yml +9 -0
- data/lib/starter_web/_data/blocks/defaults/panel.yml +9 -0
- data/lib/starter_web/_data/blocks/footer.yml +3 -2
- data/lib/starter_web/_data/blocks/panel.yml +3 -2
- data/lib/starter_web/_data/builder/blog_navigator.yml +3 -2
- data/lib/starter_web/_data/builder/defaults/blog_navigator.yml +8 -8
- data/lib/starter_web/_data/j1_config.yml +0 -116
- data/lib/starter_web/_data/layouts/default.yml +21 -21
- data/lib/starter_web/_data/layouts/home.ads.yml +262 -0
- data/lib/starter_web/_data/layouts/home.no-ads.yml +262 -0
- data/lib/starter_web/_data/layouts/home.yml +24 -0
- data/lib/starter_web/_data/layouts/page.yml +7 -18
- data/lib/starter_web/_data/layouts/post.yml +0 -11
- data/lib/starter_web/_data/modules/advertising.yml +139 -12
- data/lib/starter_web/_data/modules/analytics.yml +99 -0
- data/lib/starter_web/_data/modules/attics.yml +3 -2
- data/lib/starter_web/_data/modules/comments.yml +55 -0
- data/lib/starter_web/_data/modules/cookieconsent.yml +2 -1
- data/lib/starter_web/_data/modules/cookies.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/advertising.yml +105 -0
- data/lib/starter_web/_data/modules/defaults/analytics.yml +93 -0
- data/lib/starter_web/_data/modules/defaults/attics.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/authentication.yml +51 -48
- data/lib/starter_web/_data/modules/defaults/comments.yml +114 -0
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +3 -3
- data/lib/starter_web/_data/modules/defaults/cookies.yml +105 -26
- data/lib/starter_web/_data/modules/defaults/fab.yml +4 -2
- data/lib/starter_web/_data/modules/defaults/framer.yml +2 -3
- data/lib/starter_web/_data/modules/defaults/log4javascript.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/log4r.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -2
- data/lib/starter_web/_data/modules/defaults/quicksearch.yml +4 -3
- data/lib/starter_web/_data/modules/defaults/rtable.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/scoller.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/themer.yml +119 -118
- data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/translator.yml +1 -1
- data/lib/starter_web/_data/modules/fab.yml +3 -2
- data/lib/starter_web/_data/modules/framer.yml +3 -4
- data/lib/starter_web/_data/modules/log4r.yml +2 -2
- data/lib/starter_web/_data/modules/navigator.yml +4 -2
- data/lib/starter_web/_data/modules/quicksearch.yml +3 -3
- data/lib/starter_web/_data/modules/rtable.yml +3 -3
- data/lib/starter_web/_data/modules/scroller.yml +2 -3
- data/lib/starter_web/_data/modules/themer.yml +2 -3
- data/lib/starter_web/_data/modules/toccer.yml +3 -3
- data/lib/starter_web/_data/modules/translator.yml +1 -1
- data/lib/starter_web/_data/plugins/defaults/paginator.yml +2 -2
- data/lib/starter_web/_data/plugins/paginator.yml +2 -2
- data/lib/starter_web/_data/resources.yml +447 -290
- data/lib/starter_web/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_content_home.html +11 -0
- data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_top_home.html +11 -0
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.ads.asciidoc +196 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.comments.asciidoc +182 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-site-generators.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +1 -1
- data/lib/starter_web/index.html +0 -4
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +0 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +0 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +0 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +0 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +0 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +0 -1
- data/lib/starter_web/pages/public/blog/navigator/archive.html +0 -1
- data/lib/starter_web/pages/public/blog/navigator/index.html +0 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +4 -3
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.ads.asciidoc +265 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.base.asciidoc +237 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.comments.asciidoc +237 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +62 -0
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/google-ad.js +130 -0
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +0 -1
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +0 -1
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +0 -1
- data/lib/starter_web/pages/public/manuals/dropdown-help.adoc +23 -2
- data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +100 -166
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +25 -70
- data/_includes/themes/j1/blocks/ads/ad.html +0 -64
- data/_includes/themes/j1/modules/boards/news_pin_board.html +0 -183
- data/_includes/themes/j1/modules/connectors/ad/custom-provider.html +0 -30
- data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +0 -62
- data/_includes/themes/j1/modules/connectors/ads +0 -56
- data/_includes/themes/j1/modules/connectors/analytic/custom-provider.html +0 -32
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +0 -30
- data/_includes/themes/j1/modules/connectors/analytics +0 -60
- data/_includes/themes/j1/modules/connectors/comment/commento.html +0 -31
- data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +0 -30
- data/_includes/themes/j1/modules/connectors/comment/disqus.html +0 -32
- data/_includes/themes/j1/modules/connectors/comment/facebook.html +0 -30
- data/_includes/themes/j1/modules/connectors/comment/hyvor.html +0 -32
- data/_includes/themes/j1/modules/connectors/comment/just-comments.html +0 -31
- data/_includes/themes/j1/modules/connectors/comments +0 -64
- data/_includes/themes/j1/modules/connectors/sharing +0 -29
- data/_includes/themes/j1/modules/connectors/survey/custom-provider.html +0 -30
- data/_includes/themes/j1/modules/connectors/survey/jotform.html +0 -32
- data/_includes/themes/j1/modules/connectors/surveys +0 -58
- data/_includes/themes/j1/modules/connectors/translator +0 -58
- data/_includes/themes/j1/modules/connectors/translators/custom-translator.html +0 -32
- data/_includes/themes/j1/modules/connectors/translators/google-translator.html +0 -53
- data/_includes/themes/j1/modules/search/algolia.html +0 -181
- data/_includes/themes/j1/modules/search/docsearch.html +0 -42
- data/assets/data/disqus.js +0 -81
- data/assets/data/hyvor.js +0 -72
- data/lib/starter_web/pages/_test_pages/100_side-bar-tester.adoc +0 -244
- data/lib/starter_web/pages/_test_pages/_includes/attributes.asciidoc +0 -110
- data/lib/starter_web/pages/_test_pages/_includes/documents/100_gistblock.asciidoc +0 -28
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_info.asciidoc +0 -14
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_left_warning.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_right_danger.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_central_success.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_left_info.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_right_success.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_table_bs_modal_examples.asciidoc +0 -47
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_info.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_left_info.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_right_success.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/419_advanced_modals_demo.asciidoc +0 -337
- data/lib/starter_web/pages/_test_pages/_includes/documents/tables/bs_modal_examples.asciidoc +0 -47
- data/lib/starter_web/pages/_test_pages/accordion-01-tester.adoc +0 -220
- data/lib/starter_web/pages/_test_pages/accordion-02-tester.adoc +0 -177
- data/lib/starter_web/pages/_test_pages/accordion-03-tester.adoc +0 -148
- data/lib/starter_web/pages/_test_pages/attribute-changes-01-tester.adoc +0 -226
- data/lib/starter_web/pages/_test_pages/backdrop-tester.adoc +0 -109
- data/lib/starter_web/pages/_test_pages/button-tester-1.adoc +0 -127
- data/lib/starter_web/pages/_test_pages/card-tester.adoc +0 -128
- data/lib/starter_web/pages/_test_pages/cookieConsent.adoc +0 -96
- data/lib/starter_web/pages/_test_pages/deepl.0.adoc +0 -258
- data/lib/starter_web/pages/_test_pages/deepl.adoc +0 -204
- data/lib/starter_web/pages/_test_pages/desandro-button.adoc +0 -171
- data/lib/starter_web/pages/_test_pages/desandro.adoc +0 -147
- data/lib/starter_web/pages/_test_pages/flipcard-1-tester.adoc +0 -308
- data/lib/starter_web/pages/_test_pages/formular-01-tester.adoc +0 -167
- data/lib/starter_web/pages/_test_pages/formular-02-tester.adoc +0 -727
- data/lib/starter_web/pages/_test_pages/google-translate-tester.0.adoc +0 -113
- data/lib/starter_web/pages/_test_pages/google-translate-tester.1.adoc +0 -231
- data/lib/starter_web/pages/_test_pages/google-translate-tester.3.adoc +0 -149
- data/lib/starter_web/pages/_test_pages/google-translate-tester.4.adoc +0 -237
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-2.adoc +0 -183
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-3.adoc +0 -235
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-4.adoc +0 -222
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-5.adoc +0 -119
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.1.adoc +0 -236
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.adoc +0 -225
- data/lib/starter_web/pages/_test_pages/list-group-tester.adoc +0 -265
- data/lib/starter_web/pages/_test_pages/tictok.adoc +0 -127
@@ -1,113 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Tester
|
3
|
-
tagline: google translate
|
4
|
-
date: 2020-11-03 00:00:00 +100
|
5
|
-
description: >
|
6
|
-
Welcome to the preview page focussing on the image module. This page
|
7
|
-
shows some valuable features of the J1 Template to manage your image-based
|
8
|
-
content using lightboxes, carousels (slider), and galleries.
|
9
|
-
|
10
|
-
categories: [ Testpages ]
|
11
|
-
tags: [ Example ]
|
12
|
-
|
13
|
-
comments: false
|
14
|
-
fab_menu_id: page_ctrl_simple
|
15
|
-
|
16
|
-
permalink: /pages/public/learn/gtrans-0/
|
17
|
-
regenerate: false
|
18
|
-
|
19
|
-
resources: [
|
20
|
-
clipboard, rouge, carousel, lightbox,
|
21
|
-
justifiedGallery, lightGallery
|
22
|
-
]
|
23
|
-
resource_options:
|
24
|
-
- attic:
|
25
|
-
padding_top: 400
|
26
|
-
padding_bottom: 50
|
27
|
-
opacity: 0.5
|
28
|
-
slides:
|
29
|
-
- url: /assets/images/pages/roundtrip/images-1920x1280-bw.jpg
|
30
|
-
alt: Photo by Ricardo Gomez Angel on Unsplash
|
31
|
-
badge:
|
32
|
-
type: unsplash
|
33
|
-
author: Ricardo Gomez Angel
|
34
|
-
href: https://unsplash.com/@ripato/portfolio
|
35
|
-
---
|
36
|
-
|
37
|
-
// Page Initializer
|
38
|
-
// =============================================================================
|
39
|
-
// Enable the Liquid Preprocessor
|
40
|
-
:page-liquid:
|
41
|
-
|
42
|
-
// Set (local) page attributes here
|
43
|
-
// -----------------------------------------------------------------------------
|
44
|
-
// :page--attr: <attr-value>
|
45
|
-
:images-dir: {imagesdir}/pages/roundtrip/100_present_images
|
46
|
-
|
47
|
-
// Load Liquid procedures
|
48
|
-
// -----------------------------------------------------------------------------
|
49
|
-
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
50
|
-
|
51
|
-
// Load page attributes
|
52
|
-
// -----------------------------------------------------------------------------
|
53
|
-
{% include {{load_attributes}} scope="global" %}
|
54
|
-
|
55
|
-
// Page content
|
56
|
-
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
57
|
-
|
58
|
-
// Include sub-documents (if any)
|
59
|
-
// -----------------------------------------------------------------------------
|
60
|
-
|
61
|
-
++++
|
62
|
-
<div id="google_translate_element" class="mb-5"></div>
|
63
|
-
++++
|
64
|
-
|
65
|
-
Machine translation (MT) transfers information from one language to another
|
66
|
-
by a computer without human intervention. NMT is the most advanced method
|
67
|
-
of computer-generated translations. Thanks to autonomous learning based on
|
68
|
-
artificial intelligence.
|
69
|
-
|
70
|
-
== Neural Machine Translation
|
71
|
-
|
72
|
-
Neural Machine Translation (NMT) works on a completely different principle
|
73
|
-
than previous statistics-based or rule-based machine translation methods.
|
74
|
-
The NMT uses a large neural network based on the human brain model with
|
75
|
-
the help of artificial intelligence.
|
76
|
-
|
77
|
-
The NMT is the most advanced method of computer-generated translations.
|
78
|
-
Thanks to autonomous learning based on artificial intelligence, Big Data,
|
79
|
-
and Deep Learning, this method has made enormous progress in the last recent
|
80
|
-
years. Nowadays, neural machine translation programs can be used as a basis
|
81
|
-
for professional translations.
|
82
|
-
|
83
|
-
Neural algorithms can generate accurate translations as well as *learn* a
|
84
|
-
language. This technology improves the quality of the translated data
|
85
|
-
continuously. For the NMT to work well, it must be trained to be used.
|
86
|
-
Training means that a large amount of data feeds the algorithms to
|
87
|
-
improve the reliability of the final results.
|
88
|
-
|
89
|
-
== Translation with Deepl
|
90
|
-
|
91
|
-
_Deepl_ offers one of the best NMT engines worldwide. The translater can be
|
92
|
-
used online or by an application (app) installed on a computer locally.
|
93
|
-
The third option to translate is the cloud-based service offered
|
94
|
-
by the *Deepl API* to be integrated into custom apps or websites, for example.
|
95
|
-
|
96
|
-
J1 integrates the cloud-based translator service for the *Free* service and
|
97
|
-
professional translations using the *Pro* system. The current API *version V2*
|
98
|
-
supports the translation of more than 25 languages vice versa.
|
99
|
-
|
100
|
-
Try the translator with _Jekyll One_ and _Deepl_ on your own!
|
101
|
-
|
102
|
-
++++
|
103
|
-
|
104
|
-
<!-- p><i class="flag-icon flag-icon-gr ml-3 mr-2 mb-2"></i> </p-->
|
105
|
-
|
106
|
-
<script type="text/javascript">
|
107
|
-
function googleTranslateElementInit() {
|
108
|
-
new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');
|
109
|
-
}
|
110
|
-
</script>
|
111
|
-
|
112
|
-
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
|
113
|
-
++++
|
@@ -1,231 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Tester
|
3
|
-
tagline: google translate
|
4
|
-
date: 2020-11-03 00:00:00 +100
|
5
|
-
description: >
|
6
|
-
Welcome to the preview page focussing on the image module. This page
|
7
|
-
shows some valuable features of the J1 Template to manage your image-based
|
8
|
-
content using lightboxes, carousels (slider), and galleries.
|
9
|
-
|
10
|
-
categories: [ Testpages ]
|
11
|
-
tags: [ Example ]
|
12
|
-
|
13
|
-
comments: false
|
14
|
-
fab_menu_id: page_ctrl_simple
|
15
|
-
|
16
|
-
permalink: /pages/public/learn/gtrans-1/
|
17
|
-
regenerate: false
|
18
|
-
|
19
|
-
resources: [
|
20
|
-
clipboard, rouge, carousel, lightbox,
|
21
|
-
justifiedGallery, lightGallery
|
22
|
-
]
|
23
|
-
resource_options:
|
24
|
-
- attic:
|
25
|
-
padding_top: 400
|
26
|
-
padding_bottom: 50
|
27
|
-
opacity: 0.5
|
28
|
-
slides:
|
29
|
-
- url: /assets/images/pages/roundtrip/images-1920x1280-bw.jpg
|
30
|
-
alt: Photo by Ricardo Gomez Angel on Unsplash
|
31
|
-
badge:
|
32
|
-
type: unsplash
|
33
|
-
author: Ricardo Gomez Angel
|
34
|
-
href: https://unsplash.com/@ripato/portfolio
|
35
|
-
---
|
36
|
-
|
37
|
-
// Page Initializer
|
38
|
-
// =============================================================================
|
39
|
-
// Enable the Liquid Preprocessor
|
40
|
-
:page-liquid:
|
41
|
-
|
42
|
-
// Set (local) page attributes here
|
43
|
-
// -----------------------------------------------------------------------------
|
44
|
-
// :page--attr: <attr-value>
|
45
|
-
:images-dir: {imagesdir}/pages/roundtrip/100_present_images
|
46
|
-
|
47
|
-
// Load Liquid procedures
|
48
|
-
// -----------------------------------------------------------------------------
|
49
|
-
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
50
|
-
|
51
|
-
// Load page attributes
|
52
|
-
// -----------------------------------------------------------------------------
|
53
|
-
{% include {{load_attributes}} scope="global" %}
|
54
|
-
|
55
|
-
// Page content
|
56
|
-
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
57
|
-
|
58
|
-
// Include sub-documents (if any)
|
59
|
-
// -----------------------------------------------------------------------------
|
60
|
-
|
61
|
-
++++
|
62
|
-
<div class="ct-topbar">
|
63
|
-
<div class="container">
|
64
|
-
<ul class="list-unstyled list-inline ct-topbar__list">
|
65
|
-
<li class="ct-language">Language <i class="fa fa-arrow-down"></i>
|
66
|
-
<ul class="list-unstyled ct-language__dropdown">
|
67
|
-
<li><a href="#void" class="lang-select" src-lang="en" dest-lang="en"><i class="flag-icon flag-icon-us rectangle size-md" alt="USA"></i></a> American English</li>
|
68
|
-
<li><a href="#void" class="lang-select" src-lang="en" dest-lang="de"><i class="flag-icon flag-icon-de rectangle size-md" alt="GERMANY"></i></a> German</li>
|
69
|
-
<li><a href="#void" class="lang-select" src-lang="en" dest-lang="es"><i class="flag-icon flag-icon-es rectangle size-md" alt="SPAIN"></i></a> Spanish</li>
|
70
|
-
<li><a href="#void" class="lang-select" src-lang="en" dest-lang="fr"><i class="flag-icon flag-icon-fr rectangle size-md" alt="FRANCE"></i></a> French</li>
|
71
|
-
<li><a href="#void" class="lang-select" src-lang="remove"> Stop translation </a> </li>
|
72
|
-
</ul>
|
73
|
-
</li>
|
74
|
-
</ul>
|
75
|
-
</div>
|
76
|
-
</div>
|
77
|
-
++++
|
78
|
-
|
79
|
-
Machine translation (MT) transfers information from one language to another
|
80
|
-
by a computer without human intervention. NMT is the most advanced method
|
81
|
-
of computer-generated translations. Thanks to autonomous learning based on
|
82
|
-
artificial intelligence.
|
83
|
-
|
84
|
-
== Neural Machine Translation
|
85
|
-
|
86
|
-
Neural Machine Translation (NMT) works on a completely different principle
|
87
|
-
than previous statistics-based or rule-based machine translation methods.
|
88
|
-
The NMT uses a large neural network based on the human brain model with
|
89
|
-
the help of artificial intelligence.
|
90
|
-
|
91
|
-
The NMT is the most advanced method of computer-generated translations.
|
92
|
-
Thanks to autonomous learning based on artificial intelligence, Big Data,
|
93
|
-
and Deep Learning, this method has made enormous progress in the last recent
|
94
|
-
years. Nowadays, neural machine translation programs can be used as a basis
|
95
|
-
for professional translations.
|
96
|
-
|
97
|
-
Neural algorithms can generate accurate translations as well as *learn* a
|
98
|
-
language. This technology improves the quality of the translated data
|
99
|
-
continuously. For the NMT to work well, it must be trained to be used.
|
100
|
-
Training means that a large amount of data feeds the algorithms to
|
101
|
-
improve the reliability of the final results.
|
102
|
-
|
103
|
-
== Translation with Deepl
|
104
|
-
|
105
|
-
_Deepl_ offers one of the best NMT engines worldwide. The translater can be
|
106
|
-
used online or by an application (app) installed on a computer locally.
|
107
|
-
The third option to translate is the cloud-based service offered
|
108
|
-
by the *Deepl API* to be integrated into custom apps or websites, for example.
|
109
|
-
|
110
|
-
J1 integrates the cloud-based translator service for the *Free* service and
|
111
|
-
professional translations using the *Pro* system. The current API *version V2*
|
112
|
-
supports the translation of more than 25 languages vice versa.
|
113
|
-
|
114
|
-
Try the translator with _Jekyll One_ and _Deepl_ on your own!
|
115
|
-
|
116
|
-
|
117
|
-
++++
|
118
|
-
<style>
|
119
|
-
|
120
|
-
/* hide the suggestion box */
|
121
|
-
#goog-gt-tt, .goog-te-balloon-frame {
|
122
|
-
display: none !important;
|
123
|
-
}
|
124
|
-
.goog-text-highlight {
|
125
|
-
background: none !important;
|
126
|
-
box-shadow: none !important;
|
127
|
-
}
|
128
|
-
|
129
|
-
/* hide the powered by */
|
130
|
-
.goog-logo-link {display: none !important;}
|
131
|
-
.goog-te-gadget {height: 28px !important; overflow: hidden;}
|
132
|
-
|
133
|
-
/* remove the top frame */
|
134
|
-
body{ top: 0 !important;}
|
135
|
-
.goog-te-banner-frame{display: none !important;}
|
136
|
-
|
137
|
-
</style>
|
138
|
-
++++
|
139
|
-
|
140
|
-
++++
|
141
|
-
<script>
|
142
|
-
|
143
|
-
var gtranslate = true;
|
144
|
-
|
145
|
-
// ---------------------------------------------------------------------------
|
146
|
-
// helper functions
|
147
|
-
// ---------------------------------------------------------------------------
|
148
|
-
function googleTranslateElementInit() {
|
149
|
-
new google.translate.TranslateElement({
|
150
|
-
pageLanguage: 'en',
|
151
|
-
layout: google.translate.TranslateElement.FloatPosition.TOP_LEFT
|
152
|
-
},
|
153
|
-
'google_translate_element'
|
154
|
-
);
|
155
|
-
}
|
156
|
-
|
157
|
-
// Set a Cookie
|
158
|
-
function setCookie(options /*cName, cValue, expDays*/) {
|
159
|
-
var defaults = {
|
160
|
-
name: '',
|
161
|
-
path: '/',
|
162
|
-
expires: 0,
|
163
|
-
domain: 'localhost'
|
164
|
-
};
|
165
|
-
var settings = $.extend(defaults, options);
|
166
|
-
|
167
|
-
var date = new Date();
|
168
|
-
date.setTime(date.getTime() + (settings.expires * 24 * 60 * 60 * 1000));
|
169
|
-
const expires = "expires=" + date.toUTCString();
|
170
|
-
// document.cookie = cName + "=" + cValue + "; " + expires + "; path=/";
|
171
|
-
// document.cookie = settings.name + "=" + settings.data + "; " + expires + "; path=/";
|
172
|
-
document.cookie = settings.name + "=" + settings.data + "; path=/";
|
173
|
-
}
|
174
|
-
|
175
|
-
// ---------------------------------------------------------------------------
|
176
|
-
// event handler
|
177
|
-
// ---------------------------------------------------------------------------
|
178
|
-
window.onload = function (event) {
|
179
|
-
var cookie_names = j1.getCookieNames();
|
180
|
-
var date = new Date();
|
181
|
-
var timestamp_now = date.toISOString();
|
182
|
-
var user_state = j1.readCookie(cookie_names.user_state);
|
183
|
-
var user_consent = j1.readCookie(cookie_names.user_consent);
|
184
|
-
var head = document.getElementsByTagName('head')[0];
|
185
|
-
var script = document.createElement('script');
|
186
|
-
|
187
|
-
// set script details for google-translate
|
188
|
-
script.id = 'google-translate';
|
189
|
-
script.src = '//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit';
|
190
|
-
|
191
|
-
// set current TS
|
192
|
-
user_state.last_session_ts = timestamp_now;
|
193
|
-
|
194
|
-
// enable|disable google-translate
|
195
|
-
if (!user_consent.personalization || !gtranslate) {
|
196
|
-
user_state.gtranslate = 'disabled';
|
197
|
-
cookie_written = j1.writeCookie({
|
198
|
-
name: cookie_names.user_state,
|
199
|
-
data: user_state,
|
200
|
-
expires: 0
|
201
|
-
});
|
202
|
-
j1.removeCookie({name: 'googtrans'});
|
203
|
-
} else {
|
204
|
-
user_state.gtranslate = 'enabled';
|
205
|
-
cookie_written = j1.writeCookie({
|
206
|
-
name: cookie_names.user_state,
|
207
|
-
data: user_state,
|
208
|
-
expires: 365
|
209
|
-
});
|
210
|
-
head.appendChild(script);
|
211
|
-
}
|
212
|
-
}; // END onload
|
213
|
-
|
214
|
-
$('.lang-select').click(function() {
|
215
|
-
var srcLang = $(this).attr('src-lang');
|
216
|
-
var destLang = $(this).attr('dest-lang');
|
217
|
-
var transCode = '/' + srcLang + '/' + destLang;
|
218
|
-
|
219
|
-
// set new language settings
|
220
|
-
setCookie({
|
221
|
-
name: 'googtrans',
|
222
|
-
data: transCode
|
223
|
-
});
|
224
|
-
|
225
|
-
// relod the page to apply new language settings
|
226
|
-
window.location = window.location.pathname;
|
227
|
-
location.reload();
|
228
|
-
});
|
229
|
-
|
230
|
-
</script>
|
231
|
-
++++
|
@@ -1,149 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Tester
|
3
|
-
tagline: google translate
|
4
|
-
date: 2020-11-03 00:00:00 +100
|
5
|
-
description: >
|
6
|
-
Welcome to the preview page focussing on the image module. This page
|
7
|
-
shows some valuable features of the J1 Template to manage your image-based
|
8
|
-
content using lightboxes, carousels (slider), and galleries.
|
9
|
-
|
10
|
-
categories: [ Testpages ]
|
11
|
-
tags: [ Example ]
|
12
|
-
|
13
|
-
comments: false
|
14
|
-
fab_menu_id: page_ctrl_simple
|
15
|
-
|
16
|
-
permalink: /pages/public/learn/gtrans-3/
|
17
|
-
regenerate: false
|
18
|
-
|
19
|
-
resources: [ clipboard, rouge, imagedropdown ]
|
20
|
-
resource_options:
|
21
|
-
- attic:
|
22
|
-
padding_top: 400
|
23
|
-
padding_bottom: 50
|
24
|
-
opacity: 0.5
|
25
|
-
slides:
|
26
|
-
- url: /assets/images/pages/roundtrip/images-1920x1280-bw.jpg
|
27
|
-
alt: Photo by Ricardo Gomez Angel on Unsplash
|
28
|
-
badge:
|
29
|
-
type: unsplash
|
30
|
-
author: Ricardo Gomez Angel
|
31
|
-
href: https://unsplash.com/@ripato/portfolio
|
32
|
-
---
|
33
|
-
|
34
|
-
// Page Initializer
|
35
|
-
// =============================================================================
|
36
|
-
// Enable the Liquid Preprocessor
|
37
|
-
:page-liquid:
|
38
|
-
|
39
|
-
// Set (local) page attributes here
|
40
|
-
// -----------------------------------------------------------------------------
|
41
|
-
// :page--attr: <attr-value>
|
42
|
-
:images-dir: {imagesdir}/pages/roundtrip/100_present_images
|
43
|
-
|
44
|
-
// Load Liquid procedures
|
45
|
-
// -----------------------------------------------------------------------------
|
46
|
-
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
47
|
-
|
48
|
-
// Load page attributes
|
49
|
-
// -----------------------------------------------------------------------------
|
50
|
-
{% include {{load_attributes}} scope="global" %}
|
51
|
-
|
52
|
-
// Page content
|
53
|
-
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
54
|
-
|
55
|
-
// Include sub-documents (if any)
|
56
|
-
// -----------------------------------------------------------------------------
|
57
|
-
|
58
|
-
++++
|
59
|
-
<!-- destination language -->
|
60
|
-
<div class="form-group bmd-form-group mb-2">
|
61
|
-
|
62
|
-
<select id="destination-language" name="source-language" class="form-control" is="ms-dropdown">
|
63
|
-
<option value="CZ" data-image-css="flag-icon flag-icon-cz rectangle size-md"> Czech</option>
|
64
|
-
<option value="DA" data-image-css="flag-icon flag-icon-dk rectangle size-md"> Danish</option>
|
65
|
-
<option selected value="DE" data-image-css="flag-icon flag-icon-de rectangle size-md"> German</option>
|
66
|
-
<option value="ES" data-image-css="flag-icon flag-icon-es rectangle size-md"> Spanish</option>
|
67
|
-
<option value="EN" data-image-css="flag-icon flag-icon-gb rectangle size-md"> English</option>
|
68
|
-
<option value="EL" data-image-css="flag-icon flag-icon-gr rectangle size-md"> Greek</option>
|
69
|
-
<option value="FI" data-image-css="flag-icon flag-icon-fi rectangle size-md"> Finnish</option>
|
70
|
-
<option value="FR" data-image-css="flag-icon flag-icon-fr rectangle size-md"> French</option>
|
71
|
-
<option value="HU" data-image-css="flag-icon flag-icon-hu rectangle size-md"> Hungarian</option>
|
72
|
-
<option value="IT" data-image-css="flag-icon flag-icon-it rectangle size-md"> Italian</option>
|
73
|
-
<option value="NL" data-image-css="flag-icon flag-icon-nl rectangle size-md"> Dutch</option>
|
74
|
-
<option value="PT" data-image-css="flag-icon flag-icon-pt rectangle size-md"> Portuguese</option>
|
75
|
-
<option value="RO" data-image-css="flag-icon flag-icon-ro rectangle size-md"> Romanian</option>
|
76
|
-
<option value="RU" data-image-css="flag-icon flag-icon-ru rectangle size-md"> Russian</option>
|
77
|
-
<option value="SK" data-image-css="flag-icon flag-icon-sk rectangle size-md"> Slovak</option>
|
78
|
-
<option value="SL "data-image-css="flag-icon flag-icon-sl rectangle size-md"> Slovenian</option>
|
79
|
-
<option value="SV" data-image-css="flag-icon flag-icon-sv rectangle size-md"> Swedish</option>
|
80
|
-
</select>
|
81
|
-
<label for="source-language" class="bmd-label-floating">Select language and scope</label>
|
82
|
-
|
83
|
-
<!-- select if translated text should lean towards formal|informal language -->
|
84
|
-
<select id="language-scope" class="form-control" is="ms-dropdown">
|
85
|
-
<option selected value="default" data-image-css="far fa-meh-blank mt-1 mr-3 mb-1">Regular language</option>
|
86
|
-
<option value="more" data-image-css="far fa-meh mt-1 mr-3">Formal language</option>
|
87
|
-
<option value="less" data-image-css="far fa-smile mt-1 mr-3">Informal language</option>
|
88
|
-
</select>
|
89
|
-
|
90
|
-
</div>
|
91
|
-
++++
|
92
|
-
|
93
|
-
Machine translation (MT) transfers information from one language to another
|
94
|
-
by a computer without human intervention. NMT is the most advanced method
|
95
|
-
of computer-generated translations. Thanks to autonomous learning based on
|
96
|
-
artificial intelligence.
|
97
|
-
|
98
|
-
== Neural Machine Translation
|
99
|
-
|
100
|
-
Neural Machine Translation (NMT) works on a completely different principle
|
101
|
-
than previous statistics-based or rule-based machine translation methods.
|
102
|
-
The NMT uses a large neural network based on the human brain model with
|
103
|
-
the help of artificial intelligence.
|
104
|
-
|
105
|
-
The NMT is the most advanced method of computer-generated translations.
|
106
|
-
Thanks to autonomous learning based on artificial intelligence, Big Data,
|
107
|
-
and Deep Learning, this method has made enormous progress in the last recent
|
108
|
-
years. Nowadays, neural machine translation programs can be used as a basis
|
109
|
-
for professional translations.
|
110
|
-
|
111
|
-
Neural algorithms can generate accurate translations as well as *learn* a
|
112
|
-
language. This technology improves the quality of the translated data
|
113
|
-
continuously. For the NMT to work well, it must be trained to be used.
|
114
|
-
Training means that a large amount of data feeds the algorithms to
|
115
|
-
improve the reliability of the final results.
|
116
|
-
|
117
|
-
== Translation with Deepl
|
118
|
-
|
119
|
-
_Deepl_ offers one of the best NMT engines worldwide. The translater can be
|
120
|
-
used online or by an application (app) installed on a computer locally.
|
121
|
-
The third option to translate is the cloud-based service offered
|
122
|
-
by the *Deepl API* to be integrated into custom apps or websites, for example.
|
123
|
-
|
124
|
-
J1 integrates the cloud-based translator service for the *Free* service and
|
125
|
-
professional translations using the *Pro* system. The current API *version V2*
|
126
|
-
supports the translation of more than 25 languages vice versa.
|
127
|
-
|
128
|
-
Try the translator with _Jekyll One_ and _Deepl_ on your own!
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
++++
|
136
|
-
<script>
|
137
|
-
|
138
|
-
$(function() {
|
139
|
-
var ddDestinationLanguage = document.getElementById("destination-language").msDropdown;
|
140
|
-
|
141
|
-
ddDestinationLanguage.on("close", function() {
|
142
|
-
console.log(ddDestinationLanguage.uiData);
|
143
|
-
});
|
144
|
-
});
|
145
|
-
|
146
|
-
</script>
|
147
|
-
|
148
|
-
// <script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
|
149
|
-
++++
|