Comments (3)
I have added change for pulling the language specific archives into cache. (#218)
But I noticed that the fallback on en is already present. In the get_page
function, there is a call to get a list of all languages where it is attaching the default language (en) at the end. Let me know if I am missing something.
from tldr-python-client.
Hello! Can I take this up ?
Below are the changes that needs to be done right ?
- if a language is set, then fetch only the data for that particular language from the respective language archive location.
- if no language is set, then fetch the english archive as default.
from tldr-python-client.
Hello! Can I take this up ?
Sure
Below are the changes that needs to be done right ?
- if a language is set, then fetch only the data for that particular language from the respective language archive location.
- if no language is set, then fetch the english archive as default.
Yes, if a language is set (in the environment variable) only the language and English translation archive must be fetched and when a page isn't translated the client needs to fall back to the English page.
from tldr-python-client.
Related Issues (20)
- Bug: --markdown flag doesn't work HOT 5
- Links are not displayed properly
- Display formatting not correct when used on PowerShell HOT 5
- Feature request: more color setup HOT 3
- Auto completion for fish HOT 1
- Coloring for printed { } is broken HOT 2
- TLDR doesn't work if have IPv6 address but no ipv6 connectivity HOT 2
- ImportError: cannot import name 'cli' from 'tldr' HOT 8
- Allow `TLDR_PAGES_SOURCE_LOCATION` to contain multiple locations HOT 1
- Show notice about another similar pages HOT 1
- Autocomplete not working on macOS HOT 1
- Update the database *after* printing HOT 1
- Colors when piping output to less.
- test_whole_page failures HOT 3
- Error fetching from tldr: <urlopen error [Errno 104] Connection reset by peer> HOT 5
- Backslashes show up in autocomplete output on fedora HOT 1
- traceback error on Debian HOT 2
- Projet
- The reason of returning `list` when `tldr -l` HOT 1
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 tldr-python-client.