Localisation: help requested! (new text items added)
sbs20 opened this issue · 11 comments
UPDATE: There are additional items added for mode
and source
(see here) - additional contributions would be great!
There is now the ability to add localised content - see ./app-ui/src/locales/
.
It would be possible to use google translate to come up with "something" but it would be better if there were some kind native speakers who were able to offer up a bit of time. It would be particularly good to get those below as that will cover the greatest population. That said, any and all translations will be very welcome!
If you are able to figure out what's needed from the existing en.json
file then that would be great. If you need help then please comment on this issue and I'll do whatever I can to assist.
- Hindi
Done
ArabicCzechDutchEnglishFrenchGermanItalianMandarinPolishPortuguese (PT)Portuguese (BR)RussianSlovakSpanishTurkish
Here is a dump of all the currently missing translations
[
{
"key": "ar.json",
"missing": [
"global.no-data-text",
"files.message:action",
"files.button:action-selected"
]
},
{
"key": "cs.json",
"missing": [
"files.message:action",
"files.button:action-selected"
]
},
{
"key": "de.json",
"missing": [
"global.no-data-text",
"about.api",
"files.message:action",
"files.button:action-selected",
"adf-mode",
"scan.adf-mode"
]
},
{
"key": "es.json",
"missing": [
"global.no-data-text",
"about.api",
"files.message:action",
"files.button:action-selected",
"adf-mode",
"scan.adf-mode"
]
},
{
"key": "fr.json",
"missing": [
"global.no-data-text",
"about.api",
"files.message:action",
"files.button:action-selected",
"adf-mode",
"scan.adf-mode"
]
},
{
"key": "it.json",
"missing": [
"files.message:action",
"files.button:action-selected"
]
},
{
"key": "nl.json",
"missing": [
"global.no-data-text",
"about.api",
"files.message:action",
"files.button:action-selected",
"adf-mode",
"scan.adf-mode"
]
},
{
"key": "pl.json",
"missing": [
"global.no-data-text",
"about.api",
"files.message:action",
"files.button:action-selected",
"adf-mode",
"scan.adf-mode"
]
},
{
"key": "pt-BR.json",
"missing": [
"global.no-data-text",
"about.api",
"files.message:action",
"files.button:action-selected",
"adf-mode",
"scan.adf-mode"
]
},
{
"key": "pt.json",
"missing": [
"global.no-data-text",
"about.api",
"files.message:action",
"files.button:action-selected",
"adf-mode",
"scan.adf-mode"
]
},
{
"key": "ru.json",
"missing": [
"global.no-data-text",
"about.api",
"files.message:action",
"files.button:action-selected",
"adf-mode",
"scan.adf-mode"
]
},
{
"key": "sk.json",
"missing": [
"files.message:action",
"files.button:action-selected"
]
},
{
"key": "test.json",
"missing": []
},
{
"key": "tr.json",
"missing": [
"global.no-data-text",
"about.api",
"files.message:action",
"files.button:action-selected",
"adf-mode",
"scan.adf-mode"
]
},
{
"key": "zh.json",
"missing": [
"global.no-data-text",
"about.api",
"files.message:action",
"files.button:action-selected",
"files.thumbnail-show",
"files.thumbnail-size",
"adf-mode",
"source.transparency unit",
"scan.adf-mode",
"settings.show-files-after-scan:description"
]
}
]
@sbs20 I can handle Russian localisation :)
Seems like not a big deal (only 85 lines in en.json) so I'll prepare PR quickly
@sbs20 : I made a new upgrade of the french translation with the last version.
fr.json.zip
I have a request : the source "Transparency Unit" is not is the language file, an so cannot be translated.
I have a request : the source "Transparency Unit" is not is the language file, an so cannot be translated.
@GG700 I missed this before, sorry. Can you share the result of scanimage -A
please? I'll get this done.
Hi
You can find a new french translation here : #154 (comment)
@GG700 thanks for this. I just checked it but it's lost some characters in the encoding - see below. Could you send again? Perhaps you copied it via a terminal?
"about": {
"main": "scanservjs est une simple interface web pour votre scanner. Cette interface permet de partager un ou plusieurs scanners (utilisant SANE) sur un r�seau sans avoir besoin de drivers ou d'installation complexe.Cela permet de sauvegarder les images scann�es dans les formats de fichiers TIF, JPG, PNG, PDF et TXT (avec Tesseract OCR) avec des compressions param�trables. Cela supporte les scans avec plusieurs pages et tout mat�riel compatible avec SANE.",
"issue": "Signaler un probl�me ou afficher le code source:"
},
"colors": {
"accent-4": "D�faut",
"red": "Rouge",
"pink": "Rose",
"purple": "Violet",
"deep-purple": "Violet fonc�",
@GG700 thanks for this. I just checked it but it's lost some characters in the encoding - see below. Could you send again? Perhaps you copied it via a terminal?
"about": { "main": "scanservjs est une simple interface web pour votre scanner. Cette interface permet de partager un ou plusieurs scanners (utilisant SANE) sur un r�seau sans avoir besoin de drivers ou d'installation complexe.Cela permet de sauvegarder les images scann�es dans les formats de fichiers TIF, JPG, PNG, PDF et TXT (avec Tesseract OCR) avec des compressions param�trables. Cela supporte les scans avec plusieurs pages et tout mat�riel compatible avec SANE.", "issue": "Signaler un probl�me ou afficher le code source:" }, "colors": { "accent-4": "D�faut", "red": "Rouge", "pink": "Rose", "purple": "Violet", "deep-purple": "Violet fonc�",
Hi,
You can find a new file.
fr.json.zip
I have a request : the source "Transparency Unit" is not is the language file, an so cannot be translated.
@GG700 I missed this before, sorry. Can you share the result of
scanimage -A
please? I'll get this done.
Hi,
I have a problem : my scanner is out of order !! ((hard failure)
I try to repair it and then I give the result ;)
I have a request : the source "Transparency Unit" is not is the language file, an so cannot be translated.
@GG700 I missed this before, sorry. Can you share the result of
scanimage -A
please? I'll get this done.Hi,
I have a problem : my scanner is out of order !! ((hard failure)
I try to repair it and then I give the result ;)
Hi,
here is the return for scanimage -A
:
All options specific to device `epson:libusb:001:016':
Scan Mode:
--mode Lineart|Gray|Color [Lineart]
Selects the scan mode (e.g., lineart, monochrome, or color).
--depth 8|16 [inactive]
Number of bits per sample, typical values are 1 for "line-art" and 8
for multibit scans.
--halftoning None|Halftone A (Hard Tone)|Halftone B (Soft Tone)|Halftone C (Net Screen)|Dither
A (4x4 Bayer)|Dither B (4x4 Spiral)|Dither C (4x4 Net Screen)|Dither D (8x4 Net Screen)|Text Enha
nced Technology|Download pattern A|Download pattern B [Halftone A (Hard Tone)]
Selects the halftone.
--dropout None|Red|Green|Blue [None]
Selects the dropout.
--brightness -4..3 [0]
Selects the brightness.
--sharpness -2..2 [0]
--gamma-correction Default|User defined|High density printing|Low density printing|High contra
st printing [Default]
Selects the gamma correction value from a list of pre-defined devices
or the user defined table, which can be downloaded to the scanner
--color-correction No Correction|User defined|Impact-dot printers|Thermal printers|Ink-jet pri
nters|CRT monitors [CRT monitors]
Sets the color correction table for the selected output device.
--resolution 50|60|72|75|80|90|100|120|133|144|150|160|175|180|200|216|240|266|300|320|350|360
|400|480|600|720|800|900|1200|1600|1800|2400|3200dpi [50]
Sets the resolution of the scanned image.
--threshold 0..255 [inactive]
Select minimum-brightness to get a white point
Advanced:
--mirror[=(yes|no)] [no]
Mirror the image.
--speed[=(yes|no)] [no]
Determines the speed at which the scan proceeds.
--auto-area-segmentation[=(yes|no)] [yes]
--short-resolution[=(yes|no)] [no]
Display short resolution list
--zoom 50..200 [inactive]
Defines the zoom factor the scanner will use
--red-gamma-table 0..255,... [inactive]
Gamma-correction table for the red band.
--green-gamma-table 0..255,... [inactive]
Gamma-correction table for the green band.
--blue-gamma-table 0..255,... [inactive]
Gamma-correction table for the blue band.
--wait-for-button[=(yes|no)] [no]
After sending the scan command, wait until the button on the scanner
is pressed to actually start the scan process.
Color correction coefficients:
--cct-1 -127..127 [inactive]
Controls green level
--cct-2 -127..127 [inactive]
Adds to red based on green level
--cct-3 -127..127 [inactive]
Adds to blue based on green level
--cct-4 -127..127 [inactive]
Adds to green based on red level
--cct-5 -127..127 [inactive]
Controls red level
--cct-6 -127..127 [inactive]
Adds to blue based on red level
--cct-7 -127..127 [inactive]
Adds to green based on blue level
--cct-8 -127..127 [inactive]
Adds to red based on blue level
--cct-9 -127..127 [inactive]
Controls blue level
Preview:
--preview[=(yes|no)] [no]
Request a preview-quality scan.
--preview-speed[=(yes|no)] [no]
Geometry:
-l 0..215.9mm [0]
Top-left x position of scan area.
-t 0..297.18mm [0]
Top-left y position of scan area.
-x 0..215.9mm [215.9]
Width of scan-area.
-y 0..297.18mm [297.18]
Height of scan-area.
--quick-format CD|A5 portrait|A5 landscape|Letter|A4|Max [Max]
Optional equipment:
--source Flatbed|Transparency Unit [Flatbed]
Selects the scan source (such as a document-feeder).
--auto-eject[=(yes|no)] [inactive]
Eject document after scanning
--film-type Positive Film|Negative Film [inactive]
--focus-position Focus on glass|Focus 2.5mm above glass [Focus on glass]
Sets the focus position to either the glass or 2.5mm above the glass
--bay 1 | 2 | 3 | 4 | 5 | 6 [inactive]
Select bay to scan
--eject [inactive]
Eject the sheet in the ADF
--adf_mode Simplex|Duplex [inactive]
Selects the ADF mode (simplex/duplex)
Hi, I was able to translate the file to Slovak language. For the locales in the en.json file you can use "sk": "Slovenčina",
. Thank you for this app.
sk.json.zip