This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-05-27 13:43:17

dz0
Scratcher
Registered: 2008-12-02
Posts: 17

translation of strings with several placeholders is inflexible

translation of strings with several placeholders is inflexible,
because You can't change sequence of placeholders.

This is especially felt in  translations of list actions.
for example if I want to translate

msgid "item %i of %L"
msgstr "%L[%i]"
it doesn't work  hmm

in my language it is more common to say:

msgid "replace item %i of %L with %s"
msgstr  "replace list %L item %i  with %s"

msgid "insert %s at %i of %L"
msgstr  "insert to list %L place %i value %s"

but this also doesn't work  hmm

Offline

 

#2 2009-05-27 16:17:21

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: translation of strings with several placeholders is inflexible

Hi, I think this will be fixed in Scratch 1.4. I'm not sure though. I also had problems when translating Scratch into dutch.

I'm moving this to troubleshooting - it's not really a suggestion...


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#3 2009-06-03 10:55:54

evhan55
Scratcher
Registered: 2007-03-07
Posts: 100+

Re: translation of strings with several placeholders is inflexible

Thank you for contacting us!

We have indeed fixed the issue you reported for Scratch 1.4.  You can now reorder the arguments in any order that you'd like.

Here are the instructions for translating Scratch 1.4 po file, we have a new translation server:

http://info.scratch.mit.edu/Translation … ng_Scratch

Best,
Evelyn

dz0 wrote:

translation of strings with several placeholders is inflexible,
because You can't change sequence of placeholders.

This is especially felt in  translations of list actions.
for example if I want to translate

msgid "item %i of %L"
msgstr "%L[%i]"
it doesn't work  hmm

in my language it is more common to say:

msgid "replace item %i of %L with %s"
msgstr  "replace list %L item %i  with %s"

msgid "insert %s at %i of %L"
msgstr  "insert to list %L place %i value %s"

but this also doesn't work  hmm


I love Scratch!  big_smile
my creative outlet

Offline

 

Board footer