Localization (#15)

## Changes (escoria-core)
> Pending to do a PR to the core.
- Added `es` langcode with the corresponding flag image.
- Translated literals for `es`

## Changes (gymkhana)
-  Added `turno_cocina` localization csv.
- Proof of concept for tooltips & dialogs.

## Notes
- For tooltips just use the literals. Godot will automatically search for a translation key first.
- For ESC just use `translation_key:"Default text"`

## How to test
- In the option menu ES should be selectable.
- The `frontal` item in the inventory should have the tooltips and the `say` command translated in `en`,`fr` and `es`.

Reviewed-on: gymkhana/gymkhana#15
Co-authored-by: oier <oierbravo@gmail.com>
Co-committed-by: oier <oierbravo@gmail.com>
This commit is contained in:
2023-09-26 00:13:55 +02:00
committed by Oier Bravo
parent 6cbd466f76
commit 2d32f4b312
22 changed files with 241 additions and 72 deletions

View File

@@ -0,0 +1,6 @@
keys,es
turno_cocina_pegatinas_1,Hay muchas que molan!!
turno_cocina_pegatinas_2,Algunas no las entiendo.
turno_cocina_pegatinas_3,Alguna ya la conocia.
turno_cocina_pegatinas_4,Ya casi no se ve la ventana.
turno_cocina_pegatinas_5,La proxima vez que venga traere alguna pegatina.
1 keys es
2 turno_cocina_pegatinas_1 Hay muchas que molan!!
3 turno_cocina_pegatinas_2 Algunas no las entiendo.
4 turno_cocina_pegatinas_3 Alguna ya la conocia.
5 turno_cocina_pegatinas_4 Ya casi no se ve la ventana.
6 turno_cocina_pegatinas_5 La proxima vez que venga traere alguna pegatina.