Previous Thread
Next Thread
Print Thread
Hop To
#212919 05/19/2008 6:31 PM
Joined: Jun 2006
Posts: 142
G
member
member
G Offline
Joined: Jun 2006
Posts: 142
OK, I screwed up a bit during the upgrade and forgot to add the swedish language package into the UBB.threads v7.3 install before doing the upgrade. So now I'm missing a lot of the language strings.

Is there a script to add missing strings or rerun parts of the language string upgrades?

Or should I just start over from scratch and re-translate or copy old strings where necessary?


aka Olle Johansson
Joined: Jun 2006
Posts: 956
Old Hand
Old Hand
Joined: Jun 2006
Posts: 956
For this I use a compare tool like beyondcompare from scootersoft. Then I compare the original english to my language and replace missing strings with english strings.
The next step is to compare all string contain placeholders.
In the final step I go there to translate the english strings to my language.


my board: http://www.dragonclan-forum.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Joined: Jun 2006
Posts: 142
G
member
member
G Offline
Joined: Jun 2006
Posts: 142
Sounds like a hassle... I think I'll automate it with a script. =]


aka Olle Johansson
Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
there's no script, except a reupgrade (which you can do on a seperate test install).

But in /install there is file called language_changes.txt that help you do it manually.


[Linked Image from siemons.org]
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
using beyondcompare is much easier than an automated script.. believe me, i'm the guy that thinks about writing automated stuff if i repeat 4 keystrokes laugh

so feel free to write you script, but the cost/benefit ratio (imho) ain't worth it..

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
This is why I think eventually I'll store all default language strings in the database, and then they'll spit out text files like we have now.

This way you'll always be able to reset/add the default strings back to certain language files or all of them.

Joined: Jun 2006
Posts: 142
G
member
member
G Offline
Joined: Jun 2006
Posts: 142
That would be a great option. It would make things a lot easier.


aka Olle Johansson
Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
Originally Posted by Sirdude
believe me, i'm the guy that thinks about writing automated stuff if i repeat 4 keystrokes laugh


You also rather spend a day automating stuff instead of spending 10 minutes doing hard labor laugh

Let's shake hands wink


[Linked Image from siemons.org]

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
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
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
1 members (1 invisible), 879 guests, and 150 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 20230217)