19 Jan 2021 |
| @maxi1357:matrix.org changed their profile picture. | 10:08:17 |
nicemicro | Herbert Hudson: when will you be available for translation related things? | 16:00:55 |
nicemicro | I'd like to rewrite the appearance selection screen to be compatible with the translation engine, but i have no clue how to even start | 16:01:20 |
nicemicro | and I know GrbavaCigla is busy and away from OpenSus atm | 16:01:38 |
20 Jan 2021 |
| @maxi1357:matrix.org changed their profile picture. | 08:54:58 |
22 Jan 2021 |
GrbavaCigla | I can do it, what exactly do you need? | 18:15:05 |
23 Jan 2021 |
nicemicro | I'd like to translate the interface of appearance selector | 00:30:36 |
nicemicro | But for that I need to use some trickery in appearancemanager too | 00:31:15 |
nicemicro | So, GrbavaCigla , if you could just explain to me how to make a translatable / replaceable string | 00:32:31 |
24 Jan 2021 |
GrbavaCigla | I will check it when I am back home (in an hour or two) | 10:09:45 |
25 Jan 2021 |
GrbavaCigla | Seems we have more and more of these issues. This is too dynamic to include translate it the normal way. We will have to add translations to .po file manualy. | 09:18:14 |
GrbavaCigla | I will check how to do it in some supported way (because when you add something and run update script, update will comment your changes....) | 09:18:49 |
GrbavaCigla | This was the problem too with settings.... | 09:19:30 |
nicemicro | GrbavaCigla: my solution for both the white squares and the translations will be just to have a predifined list of files to load | 12:27:34 |
nicemicro | instead of looking in the directory | 12:27:40 |
nicemicro | and in that case I could just add the translation-stuff in an array or a dict | 12:28:15 |
nicemicro | with like {"filename.png": "text to translat"} | 12:28:39 |
28 Jan 2021 |
GrbavaCigla | There must be an option in pybabel to keep unused translations. I will continue my search. Dont have much time because of school and the company... | 22:04:19 |
nicemicro | How does pybabel find what translations are used in the code? | 23:31:00 |
29 Jan 2021 |
| @nayko:matrix.org joined the room. | 15:00:48 |
| @nayko:matrix.org left the room. | 15:14:04 |
30 Jan 2021 |
GrbavaCigla | Magic :) | 11:38:04 |
GrbavaCigla | I dont know | 11:42:15 |
GrbavaCigla | Today i will read the documentation | 12:35:24 |
nicemicro | GrbavaCigla: my guess was that it is related to that magical tr function | 16:55:35 |
nicemicro | tr("Locale") | 16:55:38 |
nicemicro | And stuff like that | 16:55:47 |
3 Feb 2021 |
GrbavaCigla | pybabel seems like an abandoned project | 19:19:10 |
GrbavaCigla | no documentation | 19:19:13 |
GrbavaCigla | I used it because godot documentation said so | 19:19:22 |