ACP does not show new language pack

Having a question about translating phpBB3? Want to discuss and collaborate with people currently translating phpBB3? Here would be the correct place to do so.
Suggested Hosts
User avatar
Bobcat30
Registered User
Posts: 6
Joined: Fri Jul 17, 2009 10:47 pm

ACP does not show new language pack

Post by Bobcat30 »

We recently installed PHPBB and it installed with one language pack, British English. According to what I have read, you simply download and unpack a new language pack into the /language folder.

So, now I have
/language
  • /en (the original British language pack)
    /lang_en_us (the newly added language pack)
But, when I access the ACP, it continue to display only "British English" in the drop down.

If I remove the existing /language/en folder, the ACP won't open. It complains that it can't find ../language/en.

If I rename "lang_en_us" to "en", then the ACP will open, but it continues to display only British English, even though that language pack no longer exists.

Can anyone shed some light on this?

Thanks.
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28855
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier

Re: ACP does not show new language pack

Post by Paul »

You need to active it firsst under admin -> system -> languages
User avatar
Bobcat30
Registered User
Posts: 6
Joined: Fri Jul 17, 2009 10:47 pm

Re: ACP does not show new language pack

Post by Bobcat30 »

The only language listed on the System tab > Language Packs is "British English". The only options for this item are Download and Delete. Am I missing something here? How do I get US English to appear on the dropdown at the General tab > Board Settings > Default Language?
User avatar
D¡cky
Former Team Member
Posts: 11812
Joined: Tue Jan 25, 2005 8:38 pm
Location: New Hampshire, USA
Name: Richard Foote

Re: ACP does not show new language pack

Post by D¡cky »

If the language pack is not shown in admin -> system -> languages, your package has either been uploaded incorrectly or you have the wrong package.
Bobcat30 wrote:So, now I have
/language
  • /en (the original British language pack)
    /lang_en_us (the newly added language pack)
Are you sure you have the correct package? phpBB2 languages start with lang_. phpBB3 will simply be en_us.
If you download, unzip and upload the package from the Downloads page, it will have the correct directory name. There is no need to rename anything. what you should have is:
  • /language
    • /en (the original British language pack)
      /en_us (the newly added language pack)
Have you hugged someone today?
User avatar
Bobcat30
Registered User
Posts: 6
Joined: Fri Jul 17, 2009 10:47 pm

Re: ACP does not show new language pack

Post by Bobcat30 »

I downloaded again. Same file size. But, I unzipped this new one to the /language folder. It looked like this when unpacked:

Code: Select all

/language
    /lang_en_us
        /en_us
So, I simply moved /en_us up a level. (I actually did this last time around). Then, I went to the System tab and (to my surprise), US English was waiting for me to "install" from the ACP.

Bottom line. I now have US English in the default language dropdown. Must have been a bad download last time.

Thanks to Paul and Dicky for your guidance.

Bob
tyto
Registered User
Posts: 12
Joined: Thu Aug 06, 2009 1:32 am

Re: ACP does not show new language pack

Post by tyto »

I'm having the same problem and i'm doing what is here showed, it's all right and i cannot change my language to the desired one
User avatar
D¡cky
Former Team Member
Posts: 11812
Joined: Tue Jan 25, 2005 8:38 pm
Location: New Hampshire, USA
Name: Richard Foote

Re: ACP does not show new language pack

Post by D¡cky »

tyto wrote:I'm having the same problem and i'm doing what is here showed, it's all right and i cannot change my language to the desired one
Duplicate post. See topic http://www.phpbb.com/community/viewtopi ... &t=1726605
Have you hugged someone today?
frafish
Registered User
Posts: 1
Joined: Mon Aug 10, 2009 6:34 pm

Re: ACP does not show new language pack

Post by frafish »

I read your comments and I did everything correctly. I now have in the language folder en, es and en_us directories. I loaded the image files into styles. I don't see any system tab in the UCP when you enter the program. There is just Board Preferences, and only British English appears there. Also the only board style I have is prosilver and not subsilver2 which was loaded from the language pack. Where is this system tab that you are talking about?
User avatar
D¡cky
Former Team Member
Posts: 11812
Joined: Tue Jan 25, 2005 8:38 pm
Location: New Hampshire, USA
Name: Richard Foote

Re: ACP does not show new language pack

Post by D¡cky »

The System tab is in the Administration Control Panel.
Have you hugged someone today?
kgraff
Registered User
Posts: 2
Joined: Tue Jan 08, 2008 2:33 pm
Location: Ford City PA USA

Re: ACP does not show new language pack

Post by kgraff »

phpBB 3.0.8

I have been struggling with this for the past couple days. The current US English pack when uncompressed has the following structure:

Code: Select all

 english_(united_states)_1_0_2
    -->english_(united_states)_1_0_2
    -->language
         -->en-us
   -->styles
      -->prosilver
      -->subsilver2
Uploading the en-us folder to /language makes the US English appear in the ACP System > Language Packs ready to install.

The author's instructions say to copy the entire uncompressed file retaining directory structure to the root level!
Last edited by kgraff on Tue Feb 15, 2011 3:27 pm, edited 1 time in total.
User avatar
Qiaeru
Former Team Member
Posts: 2603
Joined: Sun Nov 20, 2005 12:44 am
Location: Paris, France

Re: ACP does not show new language pack

Post by Qiaeru »

Because it's supposed to be like this. Titania have some issue with the translation's directory structure... We are trying to solve this problem ;) . The entire uncompressed file should have the following structure:
  • language/
    • en_us/
  • styles/
    • prosilver/
      • imageset/
        • • en_us/
    • subsilver2/
      • imageset/
        • • en_us/
kgraff
Registered User
Posts: 2
Joined: Tue Jan 08, 2008 2:33 pm
Location: Ford City PA USA

Re: ACP does not show new language pack

Post by kgraff »

kgraff wrote:phpBB 3.0.8

Uploading the en-us folder to /language makes the US English appear in the ACP System > Language Packs ready to install.

The author's instructions say to copy the entire uncompressed file retaining directory structure to the root level!
There is a second step, you need to create a new image set for the en_us language pack in all your installed styles. I just made a copy of each en folder and renamed it en_us for each installed style:

styles > (style name) > imageset > en, en_us

If you don't do this, you end up missing important things, like Edit buttons.

http://www.phpbb.com/kb/article/how-to- ... our-style/

Return to “[3.0.x] Translations”