Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Multilingual sites#3499

bkmgit started this conversation inIdeas
Feb 28, 2022· 1 comments· 1 reply
Discussion options

Motivation

Documentation on internationalization is limited. Adding examples of multilingual sites would be helpful.

Suggestion

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

I am trying a minimal example according to your example. With jekyll-polyglot (1.9.0) and minimal-mistakes-jekyll (4.27.3) I get the following errors:

Run in verbose mode to see all warnings.test/vendor/bundle/ruby/3.0.0/gems/jekyll-polyglot-1.9.0/lib/jekyll/polyglot/patches/jekyll/site.rb:245:in `relative_url_regex': target of repeat operator is not specified: /href="?\\/((?:(?!*.sh)(?!.sass-cache)(?!.jekyll-cache)(?!gemfiles)(?!Gemfile)(?!Gemfile.lock)(?!node_modules)(?!vendor\\/bundle\\/)(?!vendor\\/cache\\/)(?!vendor\\/gems\\/)(?!vendor\\/ruby\\/)(?!javascript)(?!images)(?!css)(?!public)(?!sitemap)(?!en\\/)(?!es\\/)(?!nl\\/)[^,'"\\s\\/?.]+\\.?)*(?:\\/[^\\]\\[)("'\\s]*)?)"/ (RegexpError)from test/vendor/bundle/ruby/3.0.0/gems/jekyll-polyglot-1.9.0/lib/jekyll/polyglot/patches/jekyll/site.rb:204:in `process_documents'from test/vendor/bundle/ruby/3.0.0/gems/jekyll-polyglot-1.9.0/lib/jekyll/polyglot/hooks/process.rb:8:in `block in hook_process'from test/vendor/bundle/ruby/3.0.0/gems/jekyll-polyglot-1.9.0/lib/jekyll/polyglot/hooks/process.rb:7:in `each'from test/vendor/bundle/ruby/3.0.0/gems/jekyll-polyglot-1.9.0/lib/jekyll/polyglot/hooks/process.rb:7:in `hook_process'from test/vendor/bundle/ruby/3.0.0/gems/jekyll-polyglot-1.9.0/lib/jekyll/polyglot/hooks/process.rb:3:in `block in <top (required)>'from test/vendor/bundle/ruby/3.0.0/gems/jekyll-4.4.1/lib/jekyll/hooks.rb:103:in `block in trigger'...

How to fix this?

You must be logged in to vote
1 reply
@PanderMusubi
Comment options

Solved it, my OS needs higher version of Ruby, then the minimally 1.11.0 of jekyll-polyglot where it is fixed will be installed.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Ideas
Labels
None yet
2 participants
@bkmgit@PanderMusubi
Converted from issue

This discussion was converted from issue #3498 on February 28, 2022 12:16.


[8]ページ先頭

©2009-2025 Movatter.jp