!CiVXfvydvMUOVmENYH:matrix.org

Opensuspect Translators

18 Members
All about the translations my dude3 Servers

Load older messages


SenderMessageTime
5 Feb 2021
@nicemicro:matrix.orgNice Microbut won't pybabel add those to the whatever list that crowdin uses?15:49:23
@nicemicro:matrix.orgNice Microand when we translate in crowdin, it will make a pullrequest to the repo?15:49:45
@grbavacigla:matrix.orgGrbavaCiglaYes, i don't know how to talk :). pybabel takes all functions and text and adds it to a file (pot file), crowdin takes those strings. User translates that and crowdin make pr.15:52:22
@grbavacigla:matrix.orgGrbavaCigla
In reply to @grbavacigla:matrix.org
yes
Actually no, string as in pot file string...
15:52:38
@nicemicro:matrix.orgNice Microit's too complicate for me lol16:10:19
@nicemicro:matrix.orgNice Microis it gonna be enough if I start adding the tr() function in the character customization screen to get the stuff automaticaly?16:10:53
@grbavacigla:matrix.orgGrbavaCigla
In reply to @nicemicro:matrix.org
it's too complicate for me lol
Because i don't know how to explain....
16:11:54
@grbavacigla:matrix.orgGrbavaCigla
In reply to @nicemicro:matrix.org
is it gonna be enough if I start adding the tr() function in the character customization screen to get the stuff automaticaly?
Of course
16:12:27
@grbavacigla:matrix.orgGrbavaCiglaLooks like I didn't understand you quite well too :)16:12:38
@nicemicro:matrix.orgNice MicroI just want to make it as simple as possible haha16:13:14
@nicemicro:matrix.orgNice Microso anything that works automatically is good for you16:13:25
@grbavacigla:matrix.orgGrbavaCiglaYes, for UI things, I don't know if it works automaticaly or checkbox is needed16:14:02
@nicemicro:matrix.orgNice Microwhat I was thinking to do is just make a Dictionary for filenames and just add the text from code16:14:21
@grbavacigla:matrix.orgGrbavaCigla
In reply to @nicemicro:matrix.org
what I was thinking to do is just make a Dictionary for filenames and just add the text from code
I wanted to do the same for problem I mentioned above (manualy adding to pot file), but it isn't quite elegant solution
16:15:20
@nicemicro:matrix.orgNice Microbut I think if I add it directly in the source code with the tr() function, the pybabel update will find it and add it to the pot file automatically16:16:18
@grbavacigla:matrix.orgGrbavaCiglaYes16:16:52
@grbavacigla:matrix.orgGrbavaCiglaProblem is when you don't want translations in your code and you have to add it manualy, you cant (yet)16:17:32
@nicemicro:matrix.orgNice Microyeah16:19:14
@nicemicro:matrix.orgNice MicroI think it's fine doing it in the code16:19:23
@grbavacigla:matrix.orgGrbavaCiglaOf course, but sometimes you cant have translations in code or else it will become ugly (problem with my settings)16:20:00
@nicemicro:matrix.orgNice MicroI haven't checked how that's done16:20:47
@nicemicro:matrix.orgNice MicroI just checked16:23:19
@nicemicro:matrix.orgNice Microhow is the translation achieved for the main menu though?16:25:07
@grbavacigla:matrix.orgGrbavaCigla -k text 16:33:20
@grbavacigla:matrix.orgGrbavaCiglaYeah, you don't have to check any checkboxes, UI works out of the box16:34:07
21 Feb 2021
@nicemicro:matrix.orgNice Micro GrbavaCigla: after adding a lot of tr() functions in my code, do I have to run the script by myself? 07:11:36
@nicemicro:matrix.orgNice Micro GrbavaCigla: I have ran the script called update.sh in the locale directory but it just screws up everything lol 14:18:30
@nicemicro:matrix.orgNice MicroThis is the error message I get:14:25:12
@nicemicro:matrix.orgNice Micro
Traceback (most recent call last):
  File "/usr/bin/pybabel", line 33, in <module>
    sys.exit(load_entry_point('Babel==2.9.0', 'console_scripts', 'pybabel')())
  File "/usr/lib/python3.9/site-packages/babel/messages/frontend.py", line 929, in main
    return CommandLineInterface().run(sys.argv)
  File "/usr/lib/python3.9/site-packages/babel/messages/frontend.py", line 853, in run
    return cmdinst.run()
  File "/usr/lib/python3.9/site-packages/babel/messages/frontend.py", line 481, in run
    for filename, lineno, message, comments, context in extracted:
  File "/usr/lib/python3.9/site-packages/babel/messages/extract.py", line 149, in extract_from_dir
    for message_tuple in check_and_call_extract_file(
  File "/usr/lib/python3.9/site-packages/babel/messages/extract.py", line 207, in check_and_call_extract_file
    for message_tuple in extract_from_file(
  File "/usr/lib/python3.9/site-packages/babel/messages/extract.py", line 243, in extract_from_file
    return list(extract(method, fileobj, keywords, comment_tags,
  File "/usr/lib/python3.9/site-packages/babel/messages/extract.py", line 320, in extract
    raise ValueError('Unknown extraction method %r' % method)
ValueError: Unknown extraction method 'godot_scene'
14:25:17
@nicemicro:matrix.orgNice Microso I'd guess I'm missing something on my system?14:25:33

Show newer messages


Back to Room ListRoom Version: 5