Translation system

Open
#779 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp

Research direction

Start by inspecting src/translations and the existing translation calls referenced by the lupdate command. Determine how the generated Qt .ts file should become a .qm file and where that file must be loaded. Done means the application can load the compiled translations.

Written by the indexing model from the issue text.

Description

enhancement QtSDL

The translations are possible to do but no loading system for the .qm files are in place.

mkdir src/translations
cd src/translations
lupdate ../../src -tr-function-alias QT_TRANSLATE_NOOP+=TRANSLATE,QT_TRANSLATE_NOOP+=TRANSLATE_SV,QT_TRANSLATE_NOOP+=TRANSLATE_STR,QT_TRANSLATE_NOOP+=TRANSLATE_FS,QT_TRANSLATE_N_NOOP3+=TRANSLATE_FMT,QT_TRANSLATE_NOOP+=TRANSLATE_NOOP,translate+=TRANSLATE_PLURAL_STR,translate+=TRANSLATE_PLURAL_FS -ts fceux_empty.ts

This would produce the Qt .ts file with 2015 strings which you can translate and compile to a .qm file. However, no loading system for the .qm files exists yet.

Dominant language
C++
Stars
1.6k
Forks
314
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from TASEmulators/fceux

All issues in TASEmulators/fceux

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.