Git Product home page Git Product logo

nyaapantsu-android-app's Introduction

NyaaPantsu android app Build Status

Android app built for NyaaPantsu

Build

Clone the git repo git clone https://github.com/NyaaPantsu/NyaaPantsu-android-app.git

Build with gradle: cd NyaaPantsu-android-app & ./gradlew clean build

You'll find the unsigned apk in /app/build/outputs/apk/releases/

Contributing

You can contribute by forking this repo and making a pull request. Please do understand that this is a side project, therefore the review might take a little longer.

Improving/adding translations

There are two possibilities:

With Android Studio (easier)

You can translate the app easily with the translation editor in Android Studio. First, clone the repo and open it with Android Studio (version >=3). Once you are done, you just need to pull request the changed files.

By XML

If you want to edit or add a translation, you must know the androidLanguageCode of your language. The list can be found here.

To edit, go to /app/src/main/res/values- {androidLanguageCode} and download strings.xml. Each of the translations are inside a string xml tag with a name attribute which corresponds to the string id. The name attribute must be the same in every language. When adding a new tag with a new name attribute, you have to add its english couterpart in /app/src/main/res/values/strings.xml, so every translator can know which translation they are missing.

To add a new language, you have to download /app/src/main/res/values/strings.xml, translate every piece of text inside xml tag and you mustn't touch to the attribute name! When you have done that, create a new folder in /app/src/main/res/ named values-{androidLanguageCode} and upload your translated strings.xml in that folder.

As you can see, there is already a translation for en-rUS. You can see how it works.

Disclaimer

We take no legal responsibility for anything this code is used for. This is purely an educational proof of concept.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.