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,063
  • Total Topics: 21,338
  • Online today: 356
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 151
  • Total: 152
  • lurkalot

Request: Make TP langauge undependant from SMF language

Started by Geritixxi, June 20, 2009, 04:53:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Geritixxi

Hi there...

It would be pretty nice, either to have an DANISH language package to implament, or simply do TP independent from SMF language...
Kinda annoying that when I set my language package from SMF to danish, my features in TP disappear totally :(

cx_one

Don't know if there is a danish lang pack for TP.

Take a look into your language dir. ./Themes/default/languages

and copy every file that looks like TP*.english.php to TP*.{your default language}.php

e.g.:

TPortal.english.php -> TPortal.danish.php
or if you use utf8
TPortal.english-utf8.php -> TPortal.danish-utf8.php

Greets cx_one

IchBin

Quote from: Geritixxi on June 20, 2009, 04:53:28 PM
Hi there...

It would be pretty nice, either to have an DANISH language package to implament, or simply do TP independent from SMF language...
Kinda annoying that when I set my language package from SMF to danish, my features in TP disappear totally :(

Would be better if people would translate it when they need it. The not only helps you, it helps all the others looking for your language. TP uses SMF's settings for the language, so I don't see any reason to try and add code to TP to make it work independently.

G6Cad

I think TP lean back to english if you have another language settings set in SMF and TP cant find that language.

bloc

It can, but it needs to be defined. I'll look into changing the language calls to fallback on english if native language cannot be found.

boldt

There is a danish language package
http://www.tinyportal.net/index.php?action=tpmod;dl=item873

But I cannot get it working
And it doesn't work to copy the files as TP*.english.php either 

G6Cad

Please start your own topic with issues you might have.
And before you do, read this link and apply the info we ask for there.

Please read the Posting Guidelines.html

This website is proudly hosted on Crocweb Cloud Website Hosting.