Comments (8)
Of course, the Chinese language on the PC side is provided by me, I will do it now, this is my honor! And hope that URL playback can be implemented sooner!
from syncplay-mobile.
Got it. I'll translate when there are new ones
from syncplay-mobile.
@Zhaodaidai Glad you liked it.
You can grab strings.xml and edit it using any text editor like Notepad++. The format of the translation file is XML, so it's really easy to replace the English texts with Chinese ones, especially with Notepad++'s syntax highlighting which will make it even more simple.
Let's take the very first line for example:
<string name="yes">Yes</string>
you only have to edit what's between the opening and ending tags. So it should look like this :
<string name="yes">是的</string>
Also, make sure to keep the replacement codes (%s, %1s, %2s, %3s ...etc). These codes will be replaced by actual values. For example let's take a random line,
<string name="room">Room: %s</string>
By reserving the replacement code, t should become something like this :
<string name="room">房间: %s</string>
When the app is running it will appear in a way like this : "房间: TestRoom"
That's pretty much it. Should I assign the task to you ?
from syncplay-mobile.
Next version should support URL playback. Good luck with the work.
from syncplay-mobile.
Has been completed
Do not allo
string-chinese.txt
w uploading xml, please change txt to xml
from syncplay-mobile.
@Zhaodaidai Amazing work. Thank you for the valuable contribution. Credits will be given where credit is due. The translation will be available in the next release sometime this week. Here's a snapshot of how it looks like:
from syncplay-mobile.
That's just great
from syncplay-mobile.
Feel free to edit values-zh/strings.xml file directly any time you think a text should be modified. There will be a few more texts on every release so I will leave new lines in the file with empty tags. For now, this can be closed.
from syncplay-mobile.
Related Issues (20)
- Current media timestamp will stop updating locally and remotely HOT 1
- mpv backend does not open files from SMB share (or other non-internal fs locations) HOT 5
- Can you add the Spanish language? HOT 3
- About iOS support... HOT 21
- File is still playing when leaving room HOT 1
- Videos showing only black screen unless I enable gpu-next option in 0.13.0 version HOT 1
- Move "skip 1 minute 30 seconds" button to main screen
- "Add folder" button in shared playlist settings is not working in 0.13.0 HOT 2
- Shared Playlists temporarily disabled in v0.13.0
- versionCode decreased? HOT 11
- Password preventing connection HOT 5
- Preferences do not persist HOT 1
- No Portrait Mode in Android HOT 2
- Can't switch audio and subtitles HOT 4
- Audio and subtitle track doesn't change HOT 7
- Current engine shows `Undefined` and crashes when clicked HOT 1
- Preference `Subtitle size` isn't persistent
- Volume level cannot be set more than 15/30
- pause does not sync through iPadOS HOT 1
- Unable to connect to a private server HOT 4
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 syncplay-mobile.