Comments (6)
Yea seems to be the symlinks
I just checked the code, symlinks are indeed ignored, apparently for performance reasons... I doubt it would hurt performance that much if we quickly checked if the symlink target exists... I'll have a look at this later :-)
from flathub.
Seems like something is going wrong in appstream but I'm not sure. Building meld and adding some debugs, this part https://github.com/ximion/appstream/blob/e92858da0310be987950fa5c22a12fc0a747d17b/compose/asc-utils-l10n.c#L459-L463 is outputting only two percentage datas somehow en_ca
and en_gb
.
Maybe it has something to do with symlinks because en_ca
and en_gb
are not symlinks in build/files/share/locale
, every other language is a symlink to build/files/share/runtime/locale/$lang_code
setup by flatpak-builder. EN and C are excluded from "locale migration"
The appstream metadata is itself getting translated though.
Hey @ximion any ideas ?
from flathub.
Yea seems to be the symlinks, if I disable "locale migration" by doing:
diff --git a/org.gnome.meld.json b/org.gnome.meld.json
index ad962d1..545be37 100644
--- a/org.gnome.meld.json
+++ b/org.gnome.meld.json
@@ -3,6 +3,7 @@
"runtime": "org.gnome.Platform",
"runtime-version": "45",
"sdk": "org.gnome.Sdk",
+ "separate-locales": false,
"command": "meld",
"cleanup": [
"/include",
Then the catalogue data has percentage data for all languages.
from flathub.
Very odd... My initial impulse would be to look at the original MetaInfo data and double-check that the translation tag is set correctly for the respective file.
If the symlink targets exist, I see no reason why the locale data wouldn't be read.
from flathub.
Sorry for the long wait, I have a lot of stuff on my plate right now. This patch should fix this issue, and there will likely be a new AppStream release this month as well.
from flathub.
Thank you. There's no hurry, as apps will need to get rebuilt to refresh the catalogue data, anyways. I'll wait for the release.
from flathub.
Related Issues (20)
- GitHub
- Flathub buildbot failing to commit successful builds with cryptic error HOT 5
- cromite in flathub HOT 2
- Flathub repository index is not accessible in Kyiv, Ukraine HOT 5
- appstream-compose fails on webp screenshots HOT 20
- Helpful information for anyone looking to test their flatpaks locally offline using flatpak-builder. HOT 3
- PR test build keeps failing "Commiting builds" with fsck error HOT 2
- Please add upstream author to write access. HOT 5
- Transfer access of packages to different user HOT 1
- Changelog descriptions not shown on Flathub.org unless they are wrapped in paragraph/p tags HOT 4
- Please add additional maintainer to https://github.com/flathub/com.github.hopsan.Hopsan HOT 1
- Flathub Icon Image not updating? HOT 3
- Flatpak builder on FlatHub failed with symlinkPointsToGitDir while local machine succeeded HOT 4
- gpt4all in flathub can anyone make it available in flathub HOT 3
- Flathub Website Changes HOT 4
- Additional maintainer for Subsurface HOT 1
- More rights on VLC repos HOT 2
- Yank aarch64 for net.ankiweb.Anki (for now) HOT 2
- Adding maintainer to org.freedesktop.Sdk.Extension.texlive HOT 2
- Add maintainers to org.openchemistry.Avogadro2 HOT 3
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 flathub.