mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
1.8 KiB
1.8 KiB
This is the project where shared the localized strings of the Aaru application reside.
Many of them are shared between different projects, that's why they reside there.
Strings that are not, or at least should not, be shared, are in each project's folder.
Here are following some tips for translators:
- The files are in the Microsoft Resource format, it shall be editable with most translation tools and if not they can be edited with Visual Studio Community (it's free).
- Each project has its own resource file. However many resources are shared, that's the reason why they are here, to not create circular dependencies.
Corecontains most of the shared language resources, whileUIcontains any shared language resource that is exclusive to the user interfaces (CLI or GUI).- Other projects shall contain their own resource file appropriately named.
- The resource IDs that start with
Title_are headers on a table or similar. - When the resource IDs contain numbers starting in
0it means the string contains an argument. Arguments are in the format of{x}withxbeing a number bigger or equal than0. - If you need to put a curly bracket (
{or}) you need to put it TWICE ALWAYS:{{or}}. - If the resource ID ends with
_WithMarkupit means it contains markup as described here. - Due to the use of square brackets (
[or]) as part of markup, it's use is discouraged unless really needed. - Right now the Microsoft resource format does not support complex plural rules (different words for
0,1or more elements). If your language uses such rules please open a bug issue indicating which resource ID is affected. - Resource IDs starting with
ButtonLabel_are actions, and shall use the appropriate verbal tense. - Resource IDs ending with
_Qare questions.