Comments (15)
will take care of this before our next release in the next few days
from baka-mplayer.
@amazingfate please tell me if the qmake
branch is what you're looking for. note this https://github.com/u8sand/Baka-MPlayer/blob/qmake/configure.sh#L3-L18
from baka-mplayer.
@u8sand here is what I do:
sh configure.sh CONFIG+=install_translations
make -jgrep -c ^processor /proc/cpuinfo
sudo make install
install -m 755 -p "build/baka-mplayer" "/usr/bin/baka-mplayer"
install -m 644 -p /home/liujianfeng/Baka-MPlayer/etc/logo/baka-mplayer.svg /usr/share/pixmaps/
install -m 644 -p /home/liujianfeng/Baka-MPlayer/etc/baka-mplayer.desktop /usr/share/applications/
install -m 644 -p /home/liujianfeng/Baka-MPlayer/etc/doc/baka-mplayer.md /usr/share/doc/baka-mplayer/
install -m 644 -p /home/liujianfeng/Baka-MPlayer/LICENSE /usr/share/licenses/baka-mplayer/
install -m 644 -p /home/liujianfeng/Baka-MPlayer/src/translations/baka-mplayer_pt.qm /usr/share/baka-mplayer/
install -m 644 -p /home/liujianfeng/Baka-MPlayer/src/translations/baka-mplayer_ru.qm /usr/share/baka-mplayer/
install -m 644 -p /home/liujianfeng/Baka-MPlayer/src/translations/baka-mplayer_ko.qm /usr/share/baka-mplayer/
install -m 644 -p /home/liujianfeng/Baka-MPlayer/src/translations/baka-mplayer_zh.qm /usr/share/baka-mplayer/
But when I open the baka-mplayer the translation doesn't work.
from baka-mplayer.
I see, because it's expecting /usr/share/baka-mplayer/translations but the installation got it wrong, I'll see if I can fix this.
from baka-mplayer.
This should fix: 0ceb0f3
from baka-mplayer.
still not work
./configure CONFIG+=install_translations
make -j `grep -c ^processor /proc/cpuinfo`
sudo make install
install -m 755 -p "build/baka-mplayer" "/usr/bin/baka-mplayer"
install -m 644 -p /home/liujianfeng/Baka-MPlayer/etc/logo/baka-mplayer.svg /usr/share/pixmaps/
install -m 644 -p /home/liujianfeng/Baka-MPlayer/etc/baka-mplayer.desktop /usr/share/applications/
install -m 644 -p /home/liujianfeng/Baka-MPlayer/etc/doc/baka-mplayer.md /usr/share/doc/baka-mplayer/
install -m 644 -p /home/liujianfeng/Baka-MPlayer/LICENSE /usr/share/licenses/baka-mplayer/
install -m 644 -p /home/liujianfeng/Baka-MPlayer/src/translations/baka-mplayer_pt.qm /usr/share/baka-mplayer/translations/
install -m 644 -p /home/liujianfeng/Baka-MPlayer/src/translations/baka-mplayer_ru.qm /usr/share/baka-mplayer/translations/
install -m 644 -p /home/liujianfeng/Baka-MPlayer/src/translations/baka-mplayer_ko.qm /usr/share/baka-mplayer/translations/
install -m 644 -p /home/liujianfeng/Baka-MPlayer/src/translations/baka-mplayer_zh.qm /usr/share/baka-mplayer/translations/
It seems that baka-mplayer doesn't use the qm file.
from baka-mplayer.
@amazingfate We're creating a lang option with settings, compiling it to use the settings can be done by appending BAKA_LANG=zh
to config (try this to see if it works). Lastly it should be picking the translation from your locale--what is your locale?
from baka-mplayer.
Can it be compiled with several languages (zh + ru, for example)?
from baka-mplayer.
yessir
./configure CONFIG+=install_translations TRANSLATIONS+=translations/baka-mplayer_{ru,zh}.ts
note: the use of {ru,zh}
is a bash expansion trick this really makes TRANSLATIONS+=translations/baka-mplayer_ru.ts
and TRANSLATIONS+=translations/baka-mplayer_zh.ts
.
In terms of forcing one or the other, you'll be able to do it very soon; perhaps by the end of today via preferences. I'll reference this issue with the related commit when it comes.
from baka-mplayer.
Nice. I should update the ebuild.
from baka-mplayer.
Well, it doesn't see translations in /usr/share/baka-mplayer/translations/baka-mplayer_ru.qm
.
from baka-mplayer.
from baka-mplayer.
Thx, I tried
./configure CONFIG+=install_translations TRANSLATIONS+=translations/baka-mplayer_{ru,zh,ko,pt}.ts
and finally it works.
from baka-mplayer.
This should work no differently from
./configure CONFIG+=install_translations
Perhaps it's because I had to fix a few things in the mean time; please try the above to verify that it works as expected.
And thanks for all the feedback guys! :)
from baka-mplayer.
I tried and "./configure CONFIG+=install_translations" also works.
Good job!
from baka-mplayer.
Related Issues (20)
- Baka MPlayer: Replace header image HOT 4
- iOS & is a iPadOS Builds/Support/Appstore Support?
- Code conversion HOT 1
- Core dumped on Manjaro Linux, anyone is able to check the dump and fix it? HOT 4
- Playlist does not list items of the .pls (playlist file) i have opened, but items of the folder where .pls is located
- Title progress indicator HOT 3
- Not only short seek/jump but also long? HOT 3
- how to rotate video HOT 1
- mpv seek command stuck in threshold of every 5 seconds HOT 3
- Wayland mpv overlay in second window bug HOT 1
- Question regarding commandline commands, HOT 3
- unable to update HOT 2
- Install by git clone, or i should try some more simple disk space saving way?
- Incorrect icon of PulseAudio consumer
- .ass subtitles crash the player during the opening of an anime HOT 1
- Missing tags in About section HOT 1
- scroll bar not working, new Qt5 version cause problem HOT 6
- Left click to pause/play, drag to move window/gesture HOT 4
- When video is open, play button restarts the video
- To have working Nvida-hardware video acceleration in Baka-MPlayer
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 baka-mplayer.