TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,970
  • Latest: bynw
Stats
  • Total Posts: 196,058
  • Total Topics: 21,338
  • Online today: 201
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 206
  • Total: 207
  • Itchdog

translation and translators

Started by Lesmond, April 27, 2005, 05:56:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

NightOwl

Quote from: Bloc on May 04, 2005, 12:03:11 AM
No, the strings will only work fully in the next beta. In the version you have most are not extracted into language files yet.

I see, that was worrying me after a hands on testing on those translation. I also guess that's the reason why it's partially works :)

Quote from: Bloc on May 04, 2005, 12:03:11 AM
Titles in blocks? They don't need to be in language files, you can easily change the titles to whatever you want in "edit blocks".

Yes, they can easily changed by manual. But I mean dual language board. If I have a board for both English and Chinese users, then it can only stick to one.

Bjørn

ah, I see. If it were in language files they would automatically be the right language, since SMF takes care of that.

But I have made the blocks very generic - in that you can switch easily between them, and therefore left the option of what titles to use , up to the user. So you don't HAVE call online users for "online users", but rather just anything.

NightOwl

What I mean is, can those be stored in SQL with language preifx. So each language fetch from it's own language settings.

Bjørn

If they are defined as $txt['tp_online'] in both tportal.english.php and tportal.chinese.php they will be "right" for the selected language. But if you need different titles depending on board, its a little more complicated. You have to check where you are in SMF, and when in the right spot, change thsoe values.

I would rather suggest making two online blocks, and set one to show only at board={english-id} and the otherat everything BUT board={english-id}.

This is not possible right now, but thats what i aim for in the beta7. More freedom in where the blocks show and not show.

Meanwhile you might do some checking in TPortalBlocks on whether $context['tportal']['querystring']  contains "board={english-id}" and then do an if statement to show the english title or the chinese...

That could work.

burglar

Here is the right version of the dutch language there where serveral error's in TPortalAdmin.dutch.php

[attachment deleted by admin]

Bjørn


esserdk

well i can translate it into danish if you want to!

(jeg kan oversÃÆ'ƒÂÃ,¦tte det til dansk hvis du vil have det!)

Bjørn

That would be great, esserdk! ( ..kjempebra at du vil ta den jobben! :) )

esserdk

but i will start when the Tiny Portal EN lang pack is out, couz i don't want to start with 6.5 and then the next morning 7.0 is out! :uglystupid2:

Bjørn


This website is proudly hosted on Crocweb Cloud Website Hosting.