Comments (2)
The crumbs are actually created based on the URL:
{% assign crumbs = page.url | remove:'/index.html' | split: '/' %}
Then this defines the text of the breadcrumb links:
{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}
Except when it is the last crumb, in which case the translated page title is used:
{% t page.title %}
I think we'll somehow have to pull the translations from the language yml file. For top-level pages (Documentation, Contribute, Blog) that would be relatively easy ({% t titles.{{ crumb }} %}
. However, each second- and third-level page title would not be there, but in its dedicated list (e.g. contribute.support.title). Would we have to include/specify every top-level category in the breadcrumb code?
Could we, alternatively, go through the page titles as defined in the files instead (along the lines of page.documentation.getting-started.title)?
from antennapod.github.io.
This issue has been mentioned on AntennaPod Forum. There might be relevant details there:
https://forum.antennapod.org/t/italian-website-translation/1984/35
from antennapod.github.io.
Related Issues (20)
- Make Include for cover image & put icon in middle
- CI check that enforces the formatting HOT 1
- Check links are working for each commit/PR
- Remove container custom width + max. contributor cards to 3
- Refactor FontAwesome folders
- forum signup activation email broken HOT 2
- Upgrade Font Awesome to 6.4.2 & update Twitter logo
- Automatic language detection
- Open for UI Improvements?
- Documentation does not have details about Check your classics
- Relative (internal) links should lead to translated versions
- Page deployment fails on forks
- Linkcheck fails HOT 1
- Link Checker Report HOT 1
- Link Checker Report
- Link Checker Report
- Contributor documentation HOT 7
- Link Checker Report
- Display cover image on subscribe page HOT 16
- Link Checker Report
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from antennapod.github.io.