jekyll-l10n 1.6.3 → 1.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -65
  3. data/lib/jekyll-l10n/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc00126ec04c60a3809d8f49d909df062f15ede09f43420a49432d75d4ba5205
4
- data.tar.gz: 4107059ef1962ac11dc3601265eff30a612d6c9d7ed9df6c74ac6e0c081ba9c8
3
+ metadata.gz: 044f11a134adf1537d2cc8a7a7f9d66e987c4ebc563da2be4ac1d300d5f44c85
4
+ data.tar.gz: 51ec342b9d30000ee7b06260e24dd0161d725bc3de84dd710d00d9bdb1201f55
5
5
  SHA512:
6
- metadata.gz: 42818154b63f010fbf38bc7dfce745fac8d892fa03299009a645571a5f3a5927df5ce20f8a3b6aa52f8b47fa0e04d52170106ad936680d8cb63a06171218ef35
7
- data.tar.gz: 4539433b7652e53698add3d170efd020a6251dd4111432d20d387d60a5c64026ae7e703aec9c61e1245e97a21b3fd44ac4ea21115119506fec3eaa6f6df111d9
6
+ metadata.gz: 395f230f582e8ef8d095ac15a316fe1e5e8e9752f42888f106ac356daac9a5cbc8bdf85d908ef6f580754f6fd51286023261fda2333fb90f9e49a988c5145cdc
7
+ data.tar.gz: 6e7abadbe8733b64b714c673819ec01beed62923e3f33e078df542c5ddb3c1758e4c44e4b2482d0b92242e9f6714703641edf624a866bb0219668b9f6b682be4
data/README.md CHANGED
@@ -1,74 +1,16 @@
1
1
  # jekyll-l10n
2
2
 
3
- `jekyll-l10n` is a Jekyll plugin that streamlines the localization of static websites using industry-standard GNU Gettext PO files. It extracts translatable strings from your site's HTML, organizes them into PO files for professional translation, and automatically applies translations to generate fully localized pages with locale-prefixed URLs.
4
-
5
- ![Jekyll site localization](docs/assets/img/jekyll-l10n.png)
6
-
7
- ## Installation
8
-
9
- Add to your Jekyll site's `Gemfile`:
10
-
11
- ```ruby
12
- gem "jekyll-l10n", "~> 1.1"
13
- ```
14
-
15
- Run `bundle install`, then enable in `_config.yml`:
16
-
17
- ```yaml
18
- plugins:
19
- - jekyll-l10n
20
-
21
- defaults:
22
- - scope:
23
- type: "pages"
24
- values:
25
- with_locales: true
26
- with_locales_data:
27
- locales: ["es", "fr", "de"]
28
- locales_dir: "_locales"
29
- extract_on_build: true
30
- ```
31
-
32
- ## Quick Example
33
-
34
- Edit PO files in `_locales/` with translations. On rebuild, your site will generate:
35
-
36
- - `/es/` - Spanish pages
37
- - `/fr/` - French pages
38
- - `/de/` - German pages
3
+ `jekyll-l10n` is a Jekyll plugin that streamlines the localization of static
4
+ websites using industry-standard GNU Gettext PO files. It extracts
5
+ translatable strings from your site's HTML, organizes them into PO files for
6
+ professional translation, and automatically applies translations to generate
7
+ fully localized pages with locale-prefixed URLs.
39
8
 
40
9
  ## Documentation
41
10
 
42
- Complete documentation is available in the [docs/](docs/) directory:
43
-
44
- - **[Getting Started](docs/getting-started/)** - Installation requirements and first-site setup
45
- - **[Configuration Guide](docs/configuration/)** - All configuration options and settings
46
- - **[Guides](docs/guides/)** - Fallback modes, Liquid filters, machine translation, incremental builds
47
- - **[Development](docs/development/)** - Setup, testing, API documentation
48
- - **[Examples](docs/examples/)** - Real-world usage examples
49
-
50
- ## Key Features
51
-
52
- - **Automatic extraction** - Extract translatable strings during Jekyll builds
53
- - **Professional workflows** - Edit translations using standard Gettext tools (Poedit, Weblate, etc.)
54
- - **Fallback modes** - Display English, mark untranslated strings, or leave blank
55
- - **Incremental builds** - Skip regenerating unchanged localized pages for faster builds
56
- - **Machine translation** - Optional LibreTranslate integration for initial translations
57
- - **Compendium files** - Share common translations across your entire site
58
-
59
- ## Requirements
60
-
61
- - **Ruby**: >= 2.7.0
62
- - **Jekyll**: >= 4.0, < 5.0
11
+ For complete documentation, configuration options, and examples, visit the
12
+ [documentation site](https://centos.gitlab.io/artwork/centos-web/jekyll-l10n/).
63
13
 
64
14
  ## License
65
15
 
66
16
  MIT License - see LICENSE file for details.
67
-
68
- ## Contributing
69
-
70
- 1. Fork the repository
71
- 2. Create a feature branch (`git checkout -b feature/amazing-feature`)
72
- 3. Commit your changes (`git commit -m 'feat: Add amazing feature'`)
73
- 4. Push to the branch (`git push origin feature/amazing-feature`)
74
- 5. Open a Pull Request
@@ -6,6 +6,6 @@ module Jekyll
6
6
  # Regenerated alongside the gemspec on every `make jekyll-l10n.gemspec`
7
7
  # run (locally or in CI), so it always matches spec.version in the built
8
8
  # gem. Any hand edit is overwritten on the next run.
9
- VERSION = '0.0.0'
9
+ VERSION = '1.6.4'
10
10
  end
11
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-l10n
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.3
4
+ version: 1.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alain Reguera Delgado