Re: Translation Status

Darragh Elliott <[email protected]>
Newsgroups gmane.org.fsf.europe.translators
Message-ID <[email protected]>
Hey Bonnie,

Thank you for your feedback.

 > However, I am a bit confused how is the priority of the files
 > determined? For me in the German section it lists them alphabetically
 > and the priorities start at one.

For determining what was priority, Tobias and I first asked on the web 
mailing list after the summer meeting. We received no response and so we 
asked Matthias about what was most important to translate.

I then tried to reflect that feedback in how files are assigned 
priority. Essentially a sequence of file searches are used to find files 
to be translated. As part of each search the files found are given a 
priority using sed. Here are the exact searches used at the moment:
```
files=""
# Grouped by priority
files+=$'\n'$(find ./index.en.xhtml | sed 's/$/ 1/')
files+=$'\n'$(find ./freesoftware/freesoftware.en.xhtml | sed 's/$/ 1/')

files+=$'\n'$(find ./activities -type f \( -iname "activity\.en\.xml" \) 
| sed 's/$/ 2/')

files+=$'\n'$(find ./activities -type f \( -iname "*\.en\.xhtml" -o 
-iname "*\.en\.xml" \) | sed 's/$/ 3/')
files+=$'\n'$(find ./freesoftware -type f \( -iname "*\.en\.xhtml" -o 
-iname "*\.en\.xml" \) | sed 's/$/ 3/')

files+=$'\n'$(find ./order -maxdepth 1 -type f \( -iname "*\.en\.xhtml" 
-o -iname "*\.en\.xml" \) | sed 's/$/ 4/')
files+=$'\n'$(find ./contribute -maxdepth 1 -type f \( -iname 
"spreadtheword*\.en\.xhtml" -o -iname "spreadtheword*\.en\.xml" \) | sed 
's/$/ 4/')

files+=$'\n'$(find . -type f \( -iname "*\.en\.xhtml" -o -iname 
"*\.en\.xml" \) -mtime -365 -not -path './news/*' -not -path 
'./events/*' | sed 's/$/ 5/')
files+=$'\n'$(find ./news -type f \( -iname "*\.en\.xhtml" -o -iname 
"*\.en\.xml" \) -mtime -30 | sed 's/$/ 5/')
```

Which can also be viewed online here: 
https://git.fsfe.org/FSFE/fsfe-website/src/branch/master/tools/make-outdated-list.sh#L74-L88

The files are then ranked in order of priority, where 1 is max priority, 
and then if priority is equal in alphabetical order.

 > Would it be possible for the authors of the text or the staffers
 > responsible for the project to assign a priority for translating the
 > project and sub-pages?

I do not think its feasible for there to be a nice web interface for 
altering the priority of specific files or such, but the find commands 
used in the script linked above can of course be altered. People can 
file pull requests if they feel able, or just email syshackers. We can 
add more searches to pinpoint certain files we think important, and so on.

 > The aim for me would be to have a clear overview of pages that we as
 > translators should work on in the near future. I know most of them are
 > send around via email and I do not want to change this. But for an
 > overview it would be helpful to know what really needs to be translated
 > and what can just be left alone or is long past.

Yes, that is definitely the goal here. Somewhere one can go and see what 
is the most important thing to translate right now, and work on it. 
Right now the finds exclude news items older than 30 days, and any files 
we have not marked that have not been edited in a year for example.

Yours,

Darragh



On 05/08/2024 14:18, Bonnie Mehring wrote:
> Hej Darragh,
> 
> Thank you very much for your work on the status page. This is indeed 
> really helpful from my perspective.
> 
> However, I am a bit confused how is the priority of the files 
> determined? For me in the German section it lists them alphabetically 
> and the priorities start at one.
> 
> Would it be possible for the authors of the text or the staffers 
> responsible for the project to assign a priority for translating the 
> project and sub-pages?
> 
> The aim for me would be to have a clear overview of pages that we as 
> translators should work on in the near future. I know most of them are 
> send around via email and I do not want to change this. But for an 
> overview it would be helpful to know what really needs to be translated 
> and what can just be left alone or is long past.
> 
> Thank you so much for your help.
> 
> Best wishes,
> Bonnie
> 

-- 
Darragh Elliott | Intern
PGP Fingerprint | 0B82 33A1 1ABC B64B A21D  1EA9 DA5F 4575 B2AE D9D5
Free Software Foundation Europe
Schönhauser Allee 6/7, 10119 Berlin, Germany
+49-30-27595290
_______________________________________________
Translators mailing list -- [email protected]
To unsubscribe send an email to [email protected]

This mailing list is covered by the FSFE's Code of Conduct. All
participants are kindly asked to be excellent to each other:
https://fsfe.org/about/codeofconduct
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.