How to translate NEW TOPIC Button?

Having a question about translating phpBB 3.1? Want to discuss and collaborate with people currently translating phpBB 3.1? Here would be the correct place to do so.
hypersaw
Registered User
Posts: 57
Joined: Tue May 03, 2016 12:08 pm

How to translate NEW TOPIC Button?

Post by hypersaw »

Hi,
my phpbb runs on Lithuanian language pack. This pack is 2 yrs old, so I don't see New Topic button, Locked button on my language. How (where) can I translate it? Thanks.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: How to translate NEW TOPIC Button?

Post by david63 »

The Lithuanian language pack downloaded from this site is for phpBB 3.0 and will not work with phpBB 3.1
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
hypersaw
Registered User
Posts: 57
Joined: Tue May 03, 2016 12:08 pm

Re: How to translate NEW TOPIC Button?

Post by hypersaw »

its working great. only problems are with buttons
User avatar
Lumpy Burgertushie
Registered User
Posts: 69228
Joined: Mon May 02, 2005 3:11 am

Re: How to translate NEW TOPIC Button?

Post by Lumpy Burgertushie »

the buttons are there in the language pack. either you did not apply the new pack to your style or there is some reason that those 3.0 buttons do not work with 3.1

robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53523
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}

Re: How to translate NEW TOPIC Button?

Post by Brf »

In 3.0 the buttons were images, but now they are language strings.

Code: Select all

	'BUTTON_EDIT'			=> 'Edit',
	'BUTTON_FORUM_LOCKED'	=> 'Locked',
	'BUTTON_NEW_TOPIC'		=> 'New Topic',
	'BUTTON_PM'				=> 'PM',
	'BUTTON_PM_FORWARD'		=> 'Forward',
	'BUTTON_PM_NEW'			=> 'New PM',
	'BUTTON_PM_REPLY'		=> 'Send Reply',
	'BUTTON_PM_REPLY_ALL'	=> 'Reply All',
	'BUTTON_POST_REPLY'		=> 'Post Reply',
	'BUTTON_QUOTE'			=> 'Quote',
	'BUTTON_TOPIC_LOCKED'	=> 'Locked',
hypersaw
Registered User
Posts: 57
Joined: Tue May 03, 2016 12:08 pm

Re: How to translate NEW TOPIC Button?

Post by hypersaw »

Brf wrote:In 3.0 the buttons were images, but now they are language strings.

Code: Select all

	'BUTTON_EDIT'			=> 'Edit',
	'BUTTON_FORUM_LOCKED'	=> 'Locked',
	'BUTTON_NEW_TOPIC'		=> 'New Topic',
	'BUTTON_PM'				=> 'PM',
	'BUTTON_PM_FORWARD'		=> 'Forward',
	'BUTTON_PM_NEW'			=> 'New PM',
	'BUTTON_PM_REPLY'		=> 'Send Reply',
	'BUTTON_PM_REPLY_ALL'	=> 'Reply All',
	'BUTTON_POST_REPLY'		=> 'Post Reply',
	'BUTTON_QUOTE'			=> 'Quote',
	'BUTTON_TOPIC_LOCKED'	=> 'Locked',
I will try. thanks
GunChleoc
Registered User
Posts: 152
Joined: Tue Jun 16, 2009 7:48 am

Re: How to translate NEW TOPIC Button?

Post by GunChleoc »

Would you be interested in helping to upgrade the language pack?

https://www.phpbb.com/languages/apply.php
hypersaw
Registered User
Posts: 57
Joined: Tue May 03, 2016 12:08 pm

Re: How to translate NEW TOPIC Button?

Post by hypersaw »

GunChleoc wrote:Would you be interested in helping to upgrade the language pack?

https://www.phpbb.com/languages/apply.php
I applied ;)
GunChleoc
Registered User
Posts: 152
Joined: Tue Jun 16, 2009 7:48 am

Re: How to translate NEW TOPIC Button?

Post by GunChleoc »

Excellent :D
hypersaw
Registered User
Posts: 57
Joined: Tue May 03, 2016 12:08 pm

Re: How to translate NEW TOPIC Button?

Post by hypersaw »

But I'am not a programmer or similar. I'am a user which makes difference with Trial and Error method though....
GunChleoc
Registered User
Posts: 152
Joined: Tue Jun 16, 2009 7:48 am

Re: How to translate NEW TOPIC Button?

Post by GunChleoc »

You don't need to be a programmer in order to translate :)

The easiest way to go about an update is to compare the English language files with a tool like WinMerge.

You can get the old phpBB version from:

https://download.phpbb.com/pub/release/3.0/3.0.12/

Hold off on the faq and bbcode for now - they change the structure for those, and there is a script somewhere to do automatic conversion - I don't remember where to find it though.

For testing, you could run a local webserver on your computer - the easiest way to do so is XAMPP.
hypersaw
Registered User
Posts: 57
Joined: Tue May 03, 2016 12:08 pm

Re: How to translate NEW TOPIC Button?

Post by hypersaw »

Brf wrote:In 3.0 the buttons were images, but now they are language strings.
I can't find them....:( HELP
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53523
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}

Re: How to translate NEW TOPIC Button?

Post by Brf »

You can't find what? The language strings are in your language's common.php.
hypersaw
Registered User
Posts: 57
Joined: Tue May 03, 2016 12:08 pm

Re: How to translate NEW TOPIC Button?

Post by hypersaw »

Brf wrote:You can't find what? The language strings are in your language's common.php.
There was no such code. But when I added translated code phpbb crashed (blank screen)...So I removed this code. :(
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53523
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}

Re: How to translate NEW TOPIC Button?

Post by Brf »

hypersaw wrote: There was no such code.
Indeed.
As I said, they were images in 3.0, not language strings. You would need to add the proper language strings with the other existing strings in that language/lt/common.php

Return to “[3.1.x] Translations”