Comments (5)
@Caetan95 hi; sure it should not be a problem if you can provide me with an example and what you expect from it?
from mkdocs-static-i18n.
Thanks for your quick reply @ultrabug we really appreciate it.
I would expect to search in each language separately, so depending on which language I am, it will search into it.
Currently, the behavior is that it always searches in the default language (in your example, in English), and if I change to français it will continue searching in the English version. In addition, if I search for some French word (in the French version) that is present in the text it can't find anything, since as far as I understand it just searches into English files (the default language) without taking into account the language that is currently selected.
2. French language search (no results)
3. French language search (searching for English stuff)
So taking into account this example, I would expect that 2. French language search (no results) shows some results (as the word décrite appears in the files) and it would be nice too that 3. French language search (searching for English stuff) doesn't show any results from other languages (just the selected one, which is French in this screenshot), but maybe this last one is not as critical as the second one, the French language search with no results (by extension all languages that are not the default).
I would like to thank you again for your collaboration :)
from mkdocs-static-i18n.
FYI @Caetan95 the way the search plugin is implemented prevents us from having a search index per language.
I'm almost done with this, it works good on mkdocs 1.1.2 but not on 1.2... looking into it now.
from mkdocs-static-i18n.
Hello @ultrabug, thanks for your commitment. Just FYI, I have been testing the new mkdocs 1.2 release with your plugin and I haven't found any other conflict (apart from those that we have already discuss).
Thanks again for your work :)
from mkdocs-static-i18n.
version 0.15 is out mate, thanks!
from mkdocs-static-i18n.
Related Issues (20)
- [Feature] Option to insert/inject content for fallback lang pages. HOT 16
- [Question] Can you hide/supress link warnings by mkdocs for non-existing files? HOT 7
- How to fix when translate got problem "warning not found image" HOT 1
- no Language code causing issues HOT 1
- Is there a way to preserve the language selection? HOT 2
- Incompatibility with Mkdocs Material Blog plugin? HOT 3
- [Bug?] 404 page not generated for selected language HOT 2
- Having issues building my translations after updating it to 1.0.0 HOT 8
- [Enhancement] Hiding localization options for unstralated pages HOT 2
- Issue with incorrect language folder being copied HOT 17
- Both languages show on the left-side menu instead of the current language's content only HOT 5
- Warning when homepage is not in nav HOT 1
- Non localized files missing in not default language HOT 3
- [RFE] - scaffold navigation for translations to allow for upstream management of fallback HOT 1
- Custom language selector (non-mkdocs-material) HOT 10
- [Question] INFO - Selected en None File(...) output HOT 4
- Not yet translated files in duplicated navigation entry
- Example not working: translation link in menu HOT 3
- Integration with mkdocs-material privacy plugin - image link invalid HOT 1
- Document how to build the documentation
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 mkdocs-static-i18n.