Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Language specific buttons does not work when changing language

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Solved it.

So, except for making a small addition to the WEB-INF\config\languages\locales.properties, adding the new lang file to the same folder, adding a reference to some file i no longer remember where it was (for admin interface purposes), creating a image folder for the files i was sloppy and didnt notice that the css file for the new languagespecific images had a reference to the language for each image file. :lol:

Great work by the away with jForum - i just love the way it can be customised! And i sure will return with that language of mine when done..
[originally posted on jforum.net by anneli]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all!
I hope someone could help me with this one.

When i change the language from the default english in the administrator control panel all buttons dissapear.

It doesnt matter if i switch to itailan or spanish or french, no images from the \templates\default\images\*lang\-folder are displayed (that means no "new post", "profile" or "new topic"-buttons can be found on the site).

I still have the link - but the space where the pictures are supposed to be is just empty.

Does anyone of you know how to solve this one? I have searched the forum but havnt found anything similar. I have reinstalled jForum, but with the same result...




[originally posted on jforum.net by anneli]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Addition: So ok, the languages i tried to change to didnt have a language folder in the images folder. Pretty simple and easy to understand that the buttons "dissapear".

So I must specify my question a bit. I have made a new folder for a language that wasnt in the list, i'm translating it right now.

So i am introducing a new language to jForum and when doing that it cant find the images files in the folder named the same as the new language -> my language specific buttons drops out but the the language is being displayed as expected. Is there somewhere i have missed to fine tune?

Is there a file - a line i have overlooked?
[originally posted on jforum.net by anneli]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey anneli,

so, we noticied this problem some days ago, and already did a fix to the code, so that won't happen anymore!

Glad you find out how to solve it by yourself

Rafael
[originally posted on jforum.net by Rafael Steil]
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic