Translations for buttons (SUBMIT, SEND*)

Having a question about translating phpBB 3.2? Want to discuss and collaborate with people currently translating phpBB 3.2? Here would be the correct place to do so.
Post Reply
mdkdio
Registered User
Posts: 37
Joined: Sun Jan 21, 2018 6:25 pm

Translations for buttons (SUBMIT, SEND*)

Post by mdkdio »

First thing, I am using swedish language for my forum.

There's a translation string for SEND_EMAIL (used for submit button) but none for SEND_PM what I can see.
So what is happening is that SUBMIT is used instead (which makes sense in English)

In order to try explain what is happening, in English vs. Swedish. I'll list some examples here:
Send PM = Post (Should be Send) (In Swedish it would be Skicka(Send) or Posta(Post) ... )
Post new forum thread = Post (Default is Submit, which makes sense in English) (In Swedish Posta)
Save settings = Submit - Works in English, but not in Swedish (It would've made better sense if Save (Save settings) was used. In Swedish (Spara).

That is just a few "button translations" I've found so far, could well be some more...

I don't mind hacking the files in order for this to work. i.e. add more buttons, but in what files do I need to make the changes?
language/sv/common.php is one (to add the translation strings), what other files to hack? ucp.php?

As a request, would it be possible to make a request for SEND_PM and SAVE_SETTINGS to be added into a future release of phpBB?

Thanks a mill in advance for any and all help and/or suggestions!

/mdkdio
User avatar
Crizzo
Translations & International Support Teams Manager
Translations & International Support Teams Manager
Posts: 1653
Joined: Thu Apr 23, 2009 1:20 pm
Location: Stuttgart, Germany
Name: Christian
Contact:

Re: Translations for buttons (SUBMIT, SEND*)

Post by Crizzo »

Hi,

thank you for your message.

I don't understand, why you cannot use this variables:
  • 'BUTTON_PM_NEW' (common.php)
  • 'POST_NEW_PM'
  • 'UCP_PM_COMPOSE'
  • 'SEND_PRIVATE_MESSAGE'
What would change with the new variable?
mdkdio wrote: Sun Mar 04, 2018 12:21 pm Save settings = Submit - Works in English, but not in Swedish (It would've made better sense if Save (Save settings) was used. In Swedish (Spara).
Can you show me, which one that is?

Regards
My extensions for phpBB: CDB
German phpBB Support at www.phpbb.de
mdkdio
Registered User
Posts: 37
Joined: Sun Jan 21, 2018 6:25 pm

Re: Translations for buttons (SUBMIT, SEND*)

Post by mdkdio »

Thanks Crizzo for your reply and suggestions!

BUTTON_PM_NEW = New PM
This is for composing a new PM (If I've read the code correct). i.e. for the button to press in order to write a new PM.

POST_NEW_PM = ucp.php file and is for Composing a message (Compose message)

UCP_PM_COMPOSE = Compose a PM (found in ucp.php)

SEND_PRIVATE_MESSAGE = common.php As it says, it is for "Send a private message" (from file: Send private message)

I should have mentioned that English is not my main language, so what I wrote in my OP may have not made much sense.
But I'll try again :)

When making a new thread, once done, one Post the new thread (Submit works in English).

One make changes to the settings. Once done one Submit the changes (Read: Save settings). It works fine in English, but for it to work in Swedish it
would have been better if Save settings was used (SAVE_SETTINGS).

Write a new PM, post a reply to a PM. One send a PM, or post a reply (or Send can be used if one like).
At the moment Submit is used for these as well.

Hope that makes better sense :)
mdkdio
Registered User
Posts: 37
Joined: Sun Jan 21, 2018 6:25 pm

Re: Translations for buttons (SUBMIT, SEND*)

Post by mdkdio »

Crizzo wrote: Sun Mar 04, 2018 12:59 pm
mdkdio wrote: Sun Mar 04, 2018 12:21 pm Save settings = Submit - Works in English, but not in Swedish (It would've made better sense if Save (Save settings) was used. In Swedish (Spara).
Can you show me, which one that is?

Regards
As an example: UCP - Forum Settings - Global settings (I didn't manage to find the exact file/text). At the bottom, there's two buttons
Reset and Submit

As explained in my 2:nd post. Submit (changes) makes sense in English.
IF it had been Save (settings) it would've been easier to translate.

Hope that answer your question.
User avatar
Crizzo
Translations & International Support Teams Manager
Translations & International Support Teams Manager
Posts: 1653
Joined: Thu Apr 23, 2009 1:20 pm
Location: Stuttgart, Germany
Name: Christian
Contact:

Re: Translations for buttons (SUBMIT, SEND*)

Post by Crizzo »

hi,

You don't need to make a 1:1 translation. If submit is not fitting, then choose a different word for your language, that is all in your hands.

Regards
My extensions for phpBB: CDB
German phpBB Support at www.phpbb.de
mdkdio
Registered User
Posts: 37
Joined: Sun Jan 21, 2018 6:25 pm

Re: Translations for buttons (SUBMIT, SEND*)

Post by mdkdio »

Thanks Crizzo!

I'll try figure something out :)
Post Reply

Return to “[3.2.x] Translations”