Previous Thread
Next Thread
Print Thread
Hop To
#228638 08/24/2009 7:32 PM
Joined: Aug 2009
Posts: 29
R
newbie
newbie
R Offline
Joined: Aug 2009
Posts: 29
I would like to create new languages files for my forum. Can I just copy the english files, name them something else (Spanish, upload to server ..../ubbthreads/languages, set permission on each file to 777 and edit them using the language editor supplied in threads? Will threads automaticly detect the new language file?

If Im on the wrong track could someone push me in the right direction.

Thanks for your help.

Rimex #228639 08/24/2009 7:35 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Yep, you pretty much got it. Directories you can make 777, files within can be 666. When you go into the language editor, the main screen will detect it, just don't click the active button until you're ready for your users to be able to choose that language.

Rimex #228640 08/24/2009 7:35 PM
Joined: Jun 2006
Posts: 16,300
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,300
Likes: 116
Yes, though permissions you should only really need 666.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #228648 08/25/2009 11:26 AM
Joined: Aug 2009
Posts: 29
R
newbie
newbie
R Offline
Joined: Aug 2009
Posts: 29
Hello Rick and Gizmo. My name is Jay and thank you for the help.

When in the language editor is there any thing I should not interpet ie: SPOILER_CONTENT(key) or wrapper.php?
What do I do with strings like this Views: %%VIEWS%% Replies: %%REPLIES%%? Interpet both Views: and %%VIEWS%%, etc. or is it only necessary to interpet Views:?

I am also unclear on this statment
You can add new language strings below. Each new string must have a unique new name.
I was just going to edit the current strings but not the keys thinking the end effect would be translation of the page.

My forum is for the spanish speaking community so I must complete this task before going live. Obviously I have some work to do and am eager to learn.

Thanks
Jay


Rimex #228649 08/25/2009 11:57 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Anytime you run into text that is surrounded by double percent signs, like %%VIEWS%%, means it is going to be replaced. For an example:

Views: %%VIEWS%%

Will end up looking something like below:

Views: 25

So, in that case you'll just want to translate "Views"


On the second part of your question, you just want to edit the strings themselves and leave the keys as they are. The statement you referred to is only for adding new custom strings for your site.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Who's Online Now
3 members (Ruben, Nightcrawler, ahmed047), 837 guests, and 135 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240505)