nextcloud-vue icon indicating copy to clipboard operation
nextcloud-vue copied to clipboard

Translations in Transifex

Open Valdnet opened this issue 4 years ago • 9 comments

I noticed that there are a lot of text strings that are not translated in Transifex. The lack of translations results in a slightly underdeveloped NC instance.

@skjnldsv Is it possible to easily add these strings to be translated? This is a priority issue 😉.

Valdnet avatar Jun 24 '21 10:06 Valdnet

I think this is the issue where all translations fail to be extracted from the templates. I think we could maybe consider extracting the strings from the dev builds instead of source :thinking:

skjnldsv avatar Jun 24 '21 12:06 skjnldsv

@Valdnet Is this still the case? If so, could you show the strings that are not translated, please?

raimund-schluessler avatar Jan 05 '22 09:01 raimund-schluessler

@raimund-schluessler There are still many text strings that are not translated in Transifex. You must review all of your code to catch these text strings as they are in different files.

Valdnet avatar Jan 05 '22 10:01 Valdnet

@raimund-schluessler There are still many text strings that are not translated in Transifex. You must review all of your code to catch these text strings as they are in different files.

So they are on Transifex already, just not translated? This is nothing we can solve here, in that case the translators on Transifex need to catch up with the strings.

raimund-schluessler avatar Jan 05 '22 10:01 raimund-schluessler

So they are on Transifex already, just not translated?

@raimund-schluessler No. The text strings are not adapted at all for the Transifex bot to scan them and add them to the translation.

Valdnet avatar Jan 05 '22 10:01 Valdnet

@raimund-schluessler No. The text strings are not adapted at all for the Transifex bot to scan them and add them to the translation.

Could you then please name the strings for which you noticed it? Saying "somewhere in your code" is not very helpful 🙈

raimund-schluessler avatar Jan 05 '22 10:01 raimund-schluessler

@Valdnet Some strings I fixed (more or less recently), see https://github.com/nextcloud/nextcloud-vue/pull/2229/commits/05171d8acd3a2a602864386efb93a8977c32626e So I wonder what else is missing. Please note, these strings to translate are on transifex, but might not be released and propagated to the apps yet.

raimund-schluessler avatar Jan 05 '22 10:01 raimund-schluessler

Some strings I fixed (more or less recently), see 05171d8

👍

Please note, these strings to translate are on transifex, but might not be released and propagated to the apps yet.

Okay, then let's wait for them to be added to Transifex, and then see what it will be like in the instance 😉.

Valdnet avatar Jan 05 '22 11:01 Valdnet

Still no text strings in Transifex with issue: #512.

Valdnet avatar Apr 04 '22 09:04 Valdnet

After #4272 following string are missing:

Open contact menu
Clear search

Got this by just a quick search on the source code:

while read p; do
    grep "\"$p\"" l10n/messages.pot 2>&1 > /dev/null || echo "$p";
done < <(grep -hRPo "(?<=\bt\(')[^']+" src)

False positive because of ":

Actions for item with name "{name}"
Open link to "{resourceName}"
Write message, use "@" to mention someone, use ":" for emoji autocompletion …
Load more "{options}""

susnux avatar Jun 26 '23 12:06 susnux