Datums Latviski

marex
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Fri Dec 08, 2006 6:57 am

Datums Latviski

Postby marex » Fri Dec 08, 2006 7:06 am

Var kads ieteikt - ka var nolatviskot publiceshanas datumu sakuma lapa.

p.s. joomla v.1.0.11
Last edited by marex on Fri Dec 08, 2006 7:58 am, edited 1 time in total.

User avatar
lemings
Joomla! Explorer
Joomla! Explorer
Posts: 316
Joined: Tue Oct 11, 2005 5:43 pm
Location: Latvia
Contact:

Re: Datums Latviski

Postby lemings » Fri Dec 08, 2006 1:24 pm

Nevaru apgalvot droši, bet Joomla iestatījumos ieliekot lokāli lv_LV.utf8 man liekas palīdzēja.
Member of the Latvian Joomla Translation Team
Latvian project in JoomlaCode- http://joomlacode.org/gf/project/joomla_latvian/
Latvian Joomla! team  - http://www.joomlalv.org

marex
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Fri Dec 08, 2006 6:57 am

Re: Datums Latviski

Postby marex » Fri Dec 08, 2006 3:32 pm

Diemzhel nepalidzeja gan, datumi radas angliski  :(
Vai bez aprakstihanas ieksh "locate" - nav citu variantu ?
Iespejams serveris nesaprot  :-\ lv_LV.utf8

User avatar
lemings
Joomla! Explorer
Joomla! Explorer
Posts: 316
Joined: Tue Oct 11, 2005 5:43 pm
Location: Latvia
Contact:

Re: Datums Latviski

Postby lemings » Fri Dec 08, 2006 4:19 pm

Vismaz man tā lapa griežas uz linux apache, citam servakam varētu būt savādāk.

P.S. Tas bija locale nevis locate angliski.
Member of the Latvian Joomla Translation Team
Latvian project in JoomlaCode- http://joomlacode.org/gf/project/joomla_latvian/
Latvian Joomla! team  - http://www.joomlalv.org

User avatar
zuze
Joomla! Explorer
Joomla! Explorer
Posts: 290
Joined: Sat Feb 11, 2006 9:43 pm
Location: Birmingham, USA
Contact:

Re: Datums Latviski

Postby zuze » Fri Dec 08, 2006 4:19 pm

Atradu risinajumu, ko vari meginat:

http://forum.joomla.org/index.php/topic,108077.0.html

ledzep iesaka sekojosho:

Atrodi valodas failu /languages/lativian [valodu ko lieto].php

Sameklee tur:

/** templates/*.php */

DEFINE('_ISO','charset=iso-8859-1');

DEFINE('_DATE_FORMAT','l, F d Y');  //Uses PHP's DATE Command Format - Depreciated

/**

Paarlabo sekojoso kodu :

*

*e.g. DEFINE("_DATE_FORMAT_LC","%A, %d %B %Y %H:%M"); //Uses PHP's strftime Command Format

*/

DEFINE('_DATE_FORMAT_LC',"%A, %d %B %Y"); //Uses PHP's strftime Command Format

DEFINE('_DATE_FORMAT_LC2',"%A, %d %B %Y %H:%M");

izlabo attieciigi kaa tev vajag.



Te vari atrast ko noziimee katra ziime:

http://php.net/manual/en/function.strftime.php
The key to your life is how well you deal with plan "B".
Latvian Project http://joomlacode.org/gf/project/joomla_latvian/ | http://www.joomlalv.org

marex
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Fri Dec 08, 2006 6:57 am

Re: Datums Latviski

Postby marex » Sat Dec 09, 2006 8:03 am

to zuze:
... tas  jau datuma kartoshanai nevis atainoshanai latviski  :-[

to lemings:
Varbut man problema ir saistita ar to ka lietoju APACHE serveri uz win xp (tas gan pagaidam),
nav ne jausmas kur ir tads "locale" ...
shajas lietas esmu baigais iesacejs.

User avatar
zuze
Joomla! Explorer
Joomla! Explorer
Posts: 290
Joined: Sat Feb 11, 2006 9:43 pm
Location: Birmingham, USA
Contact:

Re: Datums Latviski

Postby zuze » Sat Dec 09, 2006 2:31 pm

Izskataas ka nepareizi sapratu tavu jautaajumu.
The key to your life is how well you deal with plan "B".
Latvian Project http://joomlacode.org/gf/project/joomla_latvian/ | http://www.joomlalv.org

User avatar
lemings
Joomla! Explorer
Joomla! Explorer
Posts: 316
Joined: Tue Oct 11, 2005 5:43 pm
Location: Latvia
Contact:

Re: Datums Latviski

Postby lemings » Sat Dec 09, 2006 6:23 pm

Nu laiks pāriet uz normālu OS :D Bet labi, par Windowzi es tiešām neko nezinu  :-[ Pagaidām gan vari sekot Zuzes ieteikumam un visus tekstus no datuma izmest ārā un lietot tikai ciparu formātu, tādejādi slēpjot šo defektu!
Member of the Latvian Joomla Translation Team
Latvian project in JoomlaCode- http://joomlacode.org/gf/project/joomla_latvian/
Latvian Joomla! team  - http://www.joomlalv.org

marex
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Fri Dec 08, 2006 6:57 am

Re: Datums Latviski

Postby marex » Mon Dec 11, 2006 11:50 am

Paaaldies visiem - kas centas lidzet.
Patiesiba saits bus uz linuxa un tur viss notiek. Vienigi testejot lokali - nekadigi nevareju saprast kas par shtellem :)
ehh bus jau labi  8)

User avatar
lemings
Joomla! Explorer
Joomla! Explorer
Posts: 316
Joined: Tue Oct 11, 2005 5:43 pm
Location: Latvia
Contact:

Re: Datums Latviski

Postby lemings » Mon Dec 11, 2006 5:54 pm

Kas vēl par problēmām?  :)
Member of the Latvian Joomla Translation Team
Latvian project in JoomlaCode- http://joomlacode.org/gf/project/joomla_latvian/
Latvian Joomla! team  - http://www.joomlalv.org

User avatar
lacis
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Mon Oct 30, 2006 7:29 pm
Location: Riga

Re: Datums Latviski

Postby lacis » Thu Dec 28, 2006 9:48 am

man pagaidām lapa ir uz win systēmas. Lai datums būtu LV vajag get date.php ielikt. BET man arhīvam vienalga datums ir angl.val :(

par to pašlaik nesatraucos, jo likšu lapu uz MAC.  ;D

User avatar
indexs
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Wed Nov 01, 2006 12:24 pm
Location: Latvia
Contact:

Re: Datums Latviski

Postby indexs » Thu Feb 08, 2007 8:33 pm

Latviskojam DATUMU Joomla!!!

Fails kursh jaredigee:::

\includes\js\calendar\lang

fails: calendar-en.js  <- labots
iekshaa ir viss!!!

Code: Select all

// ** I18N
Calendar._DN = new Array
("Sunday",
 "Monday",
 "Tuesday",
 "Wednesday",
 "Thursday",
 "Friday",
 "Saturday",
 "Sunday");
Calendar._MN = new Array
("January",
 "February",
 "March",
 "April",
 "May",
 "June",
 "July",
 "August",
 "September",
 "October",
 "November",
 "December");

// tooltips
Calendar._TT = {};
Calendar._TT["TOGGLE"] = "Toggle first day of week";
Calendar._TT["PREV_YEAR"] = "Prev. year (hold for menu)";
Calendar._TT["PREV_MONTH"] = "Prev. month (hold for menu)";
Calendar._TT["GO_TODAY"] = "Go Today";
Calendar._TT["NEXT_MONTH"] = "Next month (hold for menu)";
Calendar._TT["NEXT_YEAR"] = "Next year (hold for menu)";
Calendar._TT["SEL_DATE"] = "Select date";
Calendar._TT["DRAG_TO_MOVE"] = "Drag to move";
Calendar._TT["PART_TODAY"] = " (today)";
Calendar._TT["MON_FIRST"] = "Display Monday first";
Calendar._TT["SUN_FIRST"] = "Display Sunday first";
Calendar._TT["CLOSE"] = "Close";
Calendar._TT["TODAY"] = "Today";

// date formats
Calendar._TT["DEF_DATE_FORMAT"] = "y-mm-dd";
Calendar._TT["TT_DATE_FORMAT"] = "D, M d";

Calendar._TT["WK"] = "wk";



p.s. neesmu meegjinaajis bet vareetu buut iistais,,, sorry par maz laika...  :(

Kaads pameegjiniet un dodiet zinju!
Last edited by indexs on Fri Feb 09, 2007 11:58 am, edited 1 time in total.
Thanks GOD im not stupid!

User avatar
indexs
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Wed Nov 01, 2006 12:24 pm
Location: Latvia
Contact:

Re: Datums Latviski

Postby indexs » Fri Feb 09, 2007 12:09 pm

Atradu vienaa vietaa  visu kas vajadziigs!!!!

novilkt varees http://www.joomlalv.org&nbsp; <- Gaididu apstiprinaajumu

izvedojam falilu:: calendar-latvian.js iekopeejam visu iekshaa un nesam uz ->
->

Kopējam falilu:::  calendar-latvian.js
Ienesam mapē:: \includes\js\calendar\lang\
kā arī
Ienesam mapē:: \includes\js\jscalendar-1.0\lang\
Iekopējam direktorija pie faila:: calendar-en.js

<-

Pagaidaam kods:

Code: Select all

// ** I18N
Calendar._DN = new Array
("svētdiena",
 "pirmdiena",
 "otrdiena",
 "trešdiena",
 "ceturtdiena",
 "piektdiena",
 "sestdiena",
 "svētdiena");
Calendar._MN = new Array
("janvāris",
 "februāris",
 "marts",
 "aprīlis",
 "maijs",
 "jūnijs",
 "jūlijs",
 "augusts",
 "septembris",
 "oktobris",
 "novembris",
 "decembris");

// tooltips
Calendar._TT = {};
Calendar._TT["TOGGLE"] = "Pirmā nedēļas diena";
Calendar._TT["PREV_YEAR"] = "Iepriekšējais gads";
Calendar._TT["PREV_MONTH"] = "Iepriekšējais mēnesis";
Calendar._TT["GO_TODAY"] = "iet uz šodienu";
Calendar._TT["NEXT_MONTH"] = "Nākamais mēnesis";
Calendar._TT["NEXT_YEAR"] = "Nākamais gads";
Calendar._TT["SEL_DATE"] = "Izvēlies datumu";
Calendar._TT["DRAG_TO_MOVE"] = "Mainīt novietojumu";
Calendar._TT["PART_TODAY"] = " (šodiena)";
Calendar._TT["MON_FIRST"] = "Rādīt pirmdienu kā pirmo dienu";
Calendar._TT["SUN_FIRST"] = "Rādīt svētdienu kā pirmo dienu";
Calendar._TT["CLOSE"] = "Aizvērt";
Calendar._TT["TODAY"] = "Šodien";

// date formats
Calendar._TT["DEF_DATE_FORMAT"] = "mm/dd/y";
Calendar._TT["TT_DATE_FORMAT"] = "D, M d";

Calendar._TT["WK"] = "nedēļa";

Thanks GOD im not stupid!

User avatar
lacis
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Mon Oct 30, 2006 7:29 pm
Location: Riga

Re: Datums Latviski

Postby lacis » Fri Jul 31, 2009 9:24 pm

It kā ir ko labot, bet ja En vajadzētu atstāt jo ir 2 valodas En+LV.

Kad LV ir sakopēts, datumi tomēr paliek angl. :(

garikello_LV
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Fri Mar 19, 2010 5:59 pm
Location: Aizkraukle, Latvia
Contact:

Re: Datums Latviski

Postby garikello_LV » Wed Jun 09, 2010 6:40 pm

Labs vakars, var aktualizēt tēmu attiecībā uz joomla 1.5?

Pārslēdzot valodu, lapas datums nemainās... lai gan rakstu datumi mainās.

Datums ir no veidnes...

User avatar
lemings
Joomla! Explorer
Joomla! Explorer
Posts: 316
Joined: Tue Oct 11, 2005 5:43 pm
Location: Latvia
Contact:

Re: Datums Latviski

Postby lemings » Thu Jun 10, 2010 7:58 am

Kur tas datums mainās, kur nemainās? Lūdzu sīkāk paskaidro!
Member of the Latvian Joomla Translation Team
Latvian project in JoomlaCode- http://joomlacode.org/gf/project/joomla_latvian/
Latvian Joomla! team  - http://www.joomlalv.org

garikello_LV
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Fri Mar 19, 2010 5:59 pm
Location: Aizkraukle, Latvia
Contact:

Re: Datums Latviski

Postby garikello_LV » Thu Jun 10, 2010 10:02 am

Tātad, ieliku veidni, vienu no gavickpro, veidnei ir funkcija - ielikt datumu.
Mainot valodu, datuma valoda nemainās :(

Datums bildē pa labi (pašlaik ieslēgta latviešu valoda, to var redzēt pēc datumiem pie rakstiem).
Snapshot 2010-06-10 13-00-26.jpg


Man ir pieņēmums, ka skripts datumam ir pašā veidnē, taču nevarēju to atrast.

Varbūt ir labāks veids, kā to datumu likt lapā. Varbūt datums, kas saistīts ar visas lapas saturu, un tad arī problēmu ar valodu pārslēgšanu nebūs...
You do not have the required permissions to view the files attached to this post.

User avatar
lemings
Joomla! Explorer
Joomla! Explorer
Posts: 316
Joined: Tue Oct 11, 2005 5:43 pm
Location: Latvia
Contact:

Re: Datums Latviski

Postby lemings » Thu Jun 10, 2010 2:01 pm

Paskaties, kas veidnes index.php ir rakstīts, lai attēlotu to datumu. Gan jau vajag ielikt Joomla kodu no tulkojuma tā kā rakstiem un viss būs kārtībā.
Member of the Latvian Joomla Translation Team
Latvian project in JoomlaCode- http://joomlacode.org/gf/project/joomla_latvian/
Latvian Joomla! team  - http://www.joomlalv.org

garikello_LV
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Fri Mar 19, 2010 5:59 pm
Location: Aizkraukle, Latvia
Contact:

Re: Datums Latviski

Postby garikello_LV » Thu Jun 10, 2010 4:30 pm

veidnes index.php nekā saistīta ar datumu nav

Tur ir tikai -

defined( '_JEXEC' ) or die( 'Restricted access' );

require_once('layouts/GKTemplate.php');

$Template = new GKTemplate($this);

if($Template->settings["ie6info"] && $Template->IE6Detection())
{
$Template->loadSkeleton("ie6");
}
else
{
$Template->loadBlock("gk_wrapper");
}

?>

User avatar
lemings
Joomla! Explorer
Joomla! Explorer
Posts: 316
Joined: Tue Oct 11, 2005 5:43 pm
Location: Latvia
Contact:

Re: Datums Latviski

Postby lemings » Fri Jun 11, 2010 7:53 am

Nu jāskatās tālāk kas ir tajā GKTemplate objektā. Veidnei izskatās ir savi skati, kaut kur tas datums ir definēts.
Skaties failu GKTemplate.php.
Member of the Latvian Joomla Translation Team
Latvian project in JoomlaCode- http://joomlacode.org/gf/project/joomla_latvian/
Latvian Joomla! team  - http://www.joomlalv.org


Return to “Latvian Forum”

Who is online

Users browsing this forum: No registered users and 3 guests