xoops forums

Anonymous

Posted on: 2013/1/13 10:10
Anonymous
Anonymous (Show more)
Posts: 0
Since:
#41

Re: Translation Teams on Transifex

4 months not active. Yes. Busy with other things and a lot of translations were done.

I will make time and start with translating in coorperation with flipse.

Cesagonchu

Moderator
Posted on: 2013/1/13 10:23
Cesagonchu
Cesagonchu (Show more)
Moderator
Posts: 864
Since: 2010/2/1 2
#42

Re: Translation Teams on Transifex

Ok, thank you for your answer and for your help Renetjuh

trabis

Core Developer
Posted on: 2013/1/13 12:59
trabis
trabis (Show more)
Core Developer
Posts: 2268
Since: 2006/9/1 1
#43

Re: Translation Teams on Transifex

I was thinking in taking the pt_PT language hoping that I could reuse the already translated strings from pt_BR.
Unfortunately, transifex only allows forking a language. Since the pt_PT language was already created, it did not allow me to import pt_BR translations. There is as option to display the string translated in pt_BR along with the source but the "copy source" button does not allow to copy the pt_BR. Resuming, I need to go copy/pasting the pt_BR translations and the pt_BR team will need to go copy/pasting pt_PT translations.

Due to this problem, it does not make sense to have 2 different projects. You can drop the pt_PT language on transifex. I'll be helping in the pt_BR team.

It is also a pain to know that transifex will not allow the use of class based translations. If we use class based translations on 2.6. we will have to create an export/import tool . Class to INI, INI to class. It is easy to do such tool, but it an extra step for translators. In the other hand, you will have only one file per language to worry about.

Mamba

Moderator
Posted on: 2013/1/13 13:03
Mamba
Mamba (Show more)
Moderator
Posts: 10818
Since: 2004/4/23
#44

Re: Translation Teams on Transifex

Quote:
It is also a pain to know that transifex will not allow the use of class based translations. If we use class based translations on 2.6. we will have to create an export/import tool . Class to INI, INI to class. It is easy to do such tool, but it an extra step for translators. In the other hand, you will have only one file per language to worry about.

I'll contact them to see if they could support the class-based translations. Let's not give up too easily!

If could just prepare the format file I could give them, it would be very helpful.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

trabis

Core Developer
Posted on: 2013/1/13 13:32
trabis
trabis (Show more)
Core Developer
Posts: 2268
Since: 2006/9/1 1
#45

Re: Translation Teams on Transifex

Quote:

Mamba wrote:
If could just prepare the format file I could give them, it would be very helpful.


this is all they need to know:
<?php
class {
    const 
string0 "My string";
    const 
string1 "My string";
    const 
string2 "My string";
    const 
string3 "My string";
    const 
string4 "My string";
    const 
string5 "My string";
    const 
string6 "My string";
    const 
string7 "My string";
    const 
string8 "My string";
    const 
string9 "My string";
    const 
string10 "My string";
    const 
string11 "My string";
    const 
string12 "My string";
    const 
string13 "My string";
    const 
string14 "My string";
    const 
string15 "My string";
    const 
string16 "My string";
    const 
string17 "My string";
    const 
string18 "My string";
    const 
string19 "My string";
    const 
string20 "My string";
    const 
string21 "My string";
    const 
string22 "My string";
    const 
string23 "My string";
    const 
string24 "My string";
    const 
string25 "My string";
    const 
string26 "My string";
    const 
string27 "My string";
    const 
string28 "My string";
    const 
string29 "My string";
    const 
string30 "My string";
    const 
string31 "My string";
    const 
string32 "My string";
    const 
string33 "My string";
    const 
string34 "My string";
    const 
string35 "My string";
    const 
string36 "My string";
    const 
string37 "My string";
    const 
string38 "My string";
    const 
string39 "My string";
    const 
string40 "My string";
    const 
string41 "My string";
    const 
string42 "My string";
    const 
string43 "My string";
    const 
string44 "My string";
    const 
string45 "My string";
    const 
string46 "My string";
    const 
string47 "My string";
    const 
string48 "My string";
    const 
string49 "My string";
    const 
string50 "My string";
    const 
string51 "My string";
    const 
string52 "My string";
    const 
string53 "My string";
    const 
string54 "My string";
    const 
string55 "My string";
    const 
string56 "My string";
    const 
string57 "My string";
    const 
string58 "My string";
    const 
string59 "My string";
    const 
string60 "My string";
    const 
string61 "My string";
    const 
string62 "My string";
    const 
string63 "My string";
    const 
string64 "My string";
    const 
string65 "My string";
    const 
string66 "My string";
    const 
string67 "My string";
    const 
string68 "My string";
    const 
string69 "My string";
    const 
string70 "My string";
    const 
string71 "My string";
    const 
string72 "My string";
    const 
string73 "My string";
    const 
string74 "My string";
    const 
string75 "My string";
    const 
string76 "My string";
    const 
string77 "My string";
    const 
string78 "My string";
    const 
string79 "My string";
    const 
string80 "My string";
    const 
string81 "My string";
    const 
string82 "My string";
    const 
string83 "My string";
    const 
string84 "My string";
    const 
string85 "My string";
    const 
string86 "My string";
    const 
string87 "My string";
    const 
string88 "My string";
    const 
string89 "My string";
    const 
string90 "My string";
    const 
string91 "My string";
    const 
string92 "My string";
    const 
string93 "My string";
    const 
string94 "My string";
    const 
string95 "My string";
    const 
string96 "My string";
    const 
string97 "My string";
    const 
string98 "My string";
    const 
string99 "My string";
    const 
string110 "My string1";
    const 
string111 "My string1";
    const 
string112 "My string1";
    const 
string113 "My string1";
    const 
string114 "My string1";
    const 
string115 "My string1";
    const 
string116 "My string1";
    const 
string117 "My string1";
    const 
string118 "My string1";
    const 
string119 "My string1";
    const 
string120 "My string1";
    const 
string121 "My string1";
    const 
string122 "My string1";
    const 
string123 "My string1";
    const 
string124 "My string1";
    const 
string125 "My string1";
    const 
string126 "My string1";
    const 
string127 "My string1";
    const 
string128 "My string1";
    const 
string129 "My string1";
    const 
string130 "My string1";
    const 
string131 "My string1";
    const 
string132 "My string1";
    const 
string133 "My string1";
    const 
string134 "My string1";
    const 
string135 "My string1";
    const 
string136 "My string1";
    const 
string137 "My string1";
    const 
string138 "My string1";
    const 
string139 "My string1";
    const 
string140 "My string1";
    const 
string141 "My string1";
    const 
string142 "My string1";
    const 
string143 "My string1";
    const 
string144 "My string1";
    const 
string145 "My string1";
    const 
string146 "My string1";
    const 
string147 "My string1";
    const 
string148 "My string1";
    const 
string149 "My string1";
    const 
string150 "My string1";
    const 
string151 "My string1";
    const 
string152 "My string1";
    const 
string153 "My string1";
    const 
string154 "My string1";
    const 
string155 "My string1";
    const 
string156 "My string1";
    const 
string157 "My string1";
    const 
string158 "My string1";
    const 
string159 "My string1";
    const 
string160 "My string1";
    const 
string161 "My string1";
    const 
string162 "My string1";
    const 
string163 "My string1";
    const 
string164 "My string1";
    const 
string165 "My string1";
    const 
string166 "My string1";
    const 
string167 "My string1";
    const 
string168 "My string1";
    const 
string169 "My string1";
    const 
string170 "My string1";
    const 
string171 "My string1";
    const 
string172 "My string1";
    const 
string173 "My string1";
    const 
string174 "My string1";
    const 
string175 "My string1";
    const 
string176 "My string1";
    const 
string177 "My string1";
    const 
string178 "My string1";
    const 
string179 "My string1";
    const 
string180 "My string1";
    const 
string181 "My string1";
    const 
string182 "My string1";
    const 
string183 "My string1";
    const 
string184 "My string1";
    const 
string185 "My string1";
    const 
string186 "My string1";
    const 
string187 "My string1";
    const 
string188 "My string1";
    const 
string189 "My string1";
    const 
string190 "My string1";
    const 
string191 "My string1";
    const 
string192 "My string1";
    const 
string193 "My string1";
    const 
string194 "My string1";
    const 
string195 "My string1";
    const 
string196 "My string1";
    const 
string197 "My string1";
    const 
string198 "My string1";
    const 
string199 "My string1";
}

trabis

Core Developer
Posted on: 2013/1/13 13:42
trabis
trabis (Show more)
Core Developer
Posts: 2268
Since: 2006/9/1 1
#46

Re: Translation Teams on Transifex

Even better:

<?php

/**
 * Parse only the const in this file
 */
class Someclass {
    
/**
     * Use this string as a description
     */
    
const MY_STRING "My string";

    
/**
     * %s is for username
     */
    
const YOUR_USER_NAME "Your username is %s"
    const 
OTHER_STRING "Other string";

    
/**   
     * Don't parse the functions
     * 
     * @param int $val
     *
     * @return int
     */
    
public static  function formatTimeStamp($val) {
        return 
$val;
    }
}


If they could use php reflection to get the const description, they could use it on transifex to help translators

Tarik

Not too shy to talk
Posted on: 2013/1/13 15:13
Tarik
Tarik (Show more)
Not too shy to talk
Posts: 170
Since: 2010/2/3 1
#47

Re: Translation Teams on Transifex

in the Arabic translation we are in the same spot as trabis we have a more or less translated version of 2.5.5 (+80%) so most of the job is copy past, i know its easy but is there a way to upload it to fasten the progress?

Cesagonchu

Moderator
Posted on: 2013/1/13 23:55
Cesagonchu
Cesagonchu (Show more)
Moderator
Posts: 864
Since: 2010/2/1 2
#48

Re: Translation Teams on Transifex

We'll see what we can do about it. I'll let you know.

DCrussader had begun putting translations here.

Cesagonchu

Moderator
Posted on: 2013/1/14 3:03
Cesagonchu
Cesagonchu (Show more)
Moderator
Posts: 864
Since: 2010/2/1 2
#49

Re: Translation Teams on Transifex

Quote:

trabis wrote:
Due to this problem, it does not make sense to have 2 different projects. You can drop the pt_PT language on transifex. I'll be helping in the pt_BR team.


I also keep you in plan pt_PT by waiting to see what is decided for the language teams.

Mazarin

Just can't stay away
Posted on: 2013/1/14 6:26
Mazarin
Mazarin (Show more)
Just can't stay away
Posts: 533
Since: 2008/12/10
#50

Re: Translation Teams on Transifex

I intend to chip in with Swedish translations whenever I can, but right now I don't feel I can give you the kind of 100% commitment it sounds like you're looking for. Hence put me in whatever role you see fit.

Have we been able to establish a smoother way for end users to actually get the translations FROM Transifex? I seem to recall the process being rather complicated with more or less only DCrussader being able to do it (and even then, it put in an extra backslash wherever there already was one, which required a file search and replace for the end user).