Giter Site home page Giter Site logo

ppsspp-lang's Introduction

lang

PPSSPP language ini repository

Thanks for your interest in translating PPSSPP!

  • Simply copy en_US.ini file to a new ini file with your language code, or use it to update an existing file with that name.
  • To see a list of codes, view this page.

Please note, while translating:

  • Ampersands & on the RIGHT side of an equals sign denote an underlined keyboard hotkey.
  • The hotkeys are only supported currently in the DesktopUI section, however.
  • Example: &File. This will make it so when you press ALT + F on Windows, it'll open the File menu.

Tools

  • To remove a translation, use the following (where KeyWord is the key):

    find . -type f -print0 | xargs -0 sed -i /^KeyWord/d

  • To change a translation key, use something like this:

    find . -type f -print0 | xargs -0 sed -i /^Key/NewKey

  • Before you commit, use git diff to check that you don't delete too much or some unrelated key with the same prefix.

Happy translating!

ppsspp-lang's People

Contributors

aquanull avatar arcanacodec avatar coestergaard avatar cyb3rm4n avatar guardiansoul avatar hdd60311 avatar hrydgard avatar kenny4343 avatar leopard20 avatar lightfinger avatar lightvr0 avatar mgaver avatar mryadro avatar narugakuruga avatar papel avatar peaceshi avatar ppmeis avatar saramagrean avatar sergutsalyuk avatar souga avatar sukharevandrey avatar sum2012 avatar thedax avatar tsbook avatar ufdada avatar unknownbrackets avatar virginklm avatar vnctdj avatar wuspring avatar zminhquanz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ppsspp-lang's Issues

New ini files and a tool to generate PPSSPP translation messages

I wrote a tool to generate PPSSPP translation messages.
It can't get some of the messages, but I think it generates better ini files.

Usage:

mkdir -p tmp_psp/build
cp get_i18n_messages.rb tmp_psp/
cd tmp_psp/build/
git clone --depth=1 https://github.com/hrydgard/ppsspp.git
git clone --depth=1 https://github.com/hrydgard/ppsspp-lang.git
cp -f ppsspp-lang/* ppsspp/assets/lang/
cd ..
ruby get_i18n_messages.rb

Check build/ppsspp/assets/lang/*.ini.new.
I attached new ini files and a tool (ppsspp_translation.tar.gz).

Regards.

Lang

hy @hrydgard . Language is not all the input into the build version ppsspp?

Text auto line up, when add "space" between English & Thai character, without the "\n" signs.

Excuse me, I have a issue. :D

Some categories (like Dialog & Error) when add space (Spacebar) between English and Thai characters without the "/n" signs, Text is auto new line up.

Example: ChangingGPUBackends = เมื่อเปลี่ยนแปลงรูปแบบการสนับสนุนของจีพียู\nกรุณาเริ่ม PPSSPP ใหม่อีกครั้งนึง ต้องการรีสตาร์ทเลยไหม?
untitled
I want just to show two lines only.

Here, on PPSSPP. It's show three lines.
ppsspp v1 4 2-784-g0facf7d52 11_14_2017 9_59_59 pm

Please help me with fix my lang

Please help me with a modified form of the language. The Format It is incorrect Examples such as the correct is Confirm Overwrite = ต้องการให้เขียนทับข้อมูลเดิมหรือไม่?
but Language displayed on andriod format is not correct my language.
screenshot_2014-12-29-22-39-39

About pointers

To clarify the code, we should always use the same pointers, so I made a list of all the pointers with clean names.

Let's keep these one for example (by alphabetical order) :

I18NCategory *a = GetI18NCategory("Audio");
I18NCategory *co = GetI18NCategory("Controls");
I18NCategory *cr = GetI18NCategory("PSPCredits");
I18NCategory *cw = GetI18NCategory("CwCheats");
I18NCategory *di = GetI18NCategory("Dialog");
I18NCategory *des = GetI18NCategory("DesktopUI");
I18NCategory *dev = GetI18NCategory("Developer");
I18NCategory *e = GetI18NCategory("Error");
I18NCategory *ge = GetI18NCategory("General");
I18NCategory *ga = GetI18NCategory("Game");
I18NCategory *gr = GetI18NCategory("Graphics");
I18NCategory *km = GetI18NCategory("KeyMapping");
I18NCategory *mc = GetI18NCategory("MappableControls");
I18NCategory *mm = GetI18NCategory("MainMenu");
I18NCategory *ms = GetI18NCategory("MainSettings");
I18NCategory *p = GetI18NCategory("Plugin");
I18NCategory *sc = GetI18NCategory("Screen");
I18NCategory *sy = GetI18NCategory("System");

I renamed by the first letter (or the 2 first letters if there are 2 words) and then I used the next letter if the first letter is already used.

Now, we should list all the files that use pointers and modify these files with the new pointers I wrote here.
Moreover, I think we should copy this list at the top of the concerned files in order to not forget to use these pointers :)

This will make the code cleaner and easier to modify later without having any repercussion on the lang .ini files.

PC and Android versions don't match (Farsi/Arabic)

I know this isn't really PPSSPP's fault, but the Android version translations are messed up. It looks fine on PC:
PC:
image

Android:
screenshot_2018-05-16-22-02-06-614_org ppsspp ppsspp

I think it's because Android doesn't have a proper RTL implementation.

I was hoping you could provide some tips for fixing it.

Postprocessing shaders

I noticed that postprocessing shaders are not translatable at the moment.
They should be translated in [DesktopUI] and in [Graphics] :)

I don't know if it's already planned or not, I'm just notifying ;)

Thanks by advance ! :)

Javanese Lang

Javanese language do not input into ppsspp first because I have not finished the
translation

Help me

I want to add the Java language in ppsspp how?

Issues with translation strings. (Discussion)

These strings are untranslatable:

  • Load State
  • Save State
  • Enable Compatibility Server Reports (I bet this one is because it is on the wrong category linked)

Something weird going on with:

  • SE Volume
  • Nearest, Linear, Linear(CG), Hybrid, Bicubuc, H+B (On graphics, after the selected "Type:" of Texture Filtering/Scaling the selected type strings don't get translated while the buttons do)

Also I have no clue where (what category) do the Atrac3+ Audio Support screen strings and the Keyboard Mapping strings are located to.

EDIT: Solved.

Need some missing strings

The following strings need to be added to en_us.ini in order to be translated to other languages:

"Use UI background" *Found when we hold a finger or mouse on a game to show the start menu and cheats, etc.
"One moment please..." *The popup who aplly the UI image from the game on the menu cited above.
"AVI Dump started."
"AVI Dump stoped." *White text that show us recording screen is starting and stoping if turned on settings.

HomeBrew Store

I've just have a look at json stuff at HBS

http://store.ppsspp.org/index.json
  "categories": {
    "actiongame": {
      "en_US": {
        "name": "Action Games"
      },
      "sv_SE": {
        "name": "Actionspel"
      }
    },
...
  },

So should we translate that stuff now?

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.