61
DCrussader
Re: xLanguage 3.03 Beta 1 -ready for testing & feedback

Over and over again, without "definitions typo-space finders" XOOPS 2.5 and upcoming 2.6 will return in the age of 2.0.18. Few translations for the core - mostly uncompleted, bcz most don't know what's winmerge and what for can be used.

With current language files written in Yoda English or even Alien English - XOOPS will remain less used CMS, bcz of the hard way to be understanded.

And again - this are strict rules placed from Infidex
http://help.transifex.com/features/formats.html#php-files
Scroll down to PHP Define statement, if there is a formatting - forget to be supported.

Quotation from private discussion with Infidex developers.

Regarding quotes (predicted question, before to upload any files):
Quote:

Well, _QQ_ is used in Joomla!, but not in PHP. So, our PHP handler does not expect it to be a replacement for quotes in PHP strings in the PHP files. Currently the implementation supports PHP type strings. Let me explain with examples:

Below are the strings supported by the PHP hanlder:
"This is a string"

'This is also a string'

"This is a double quoted string with a single quote ' in it."

'This is a single quoted string with a double quote " in it."

"This is a double quoted string with a double quote " inside it and a single quote ' too."

'This is a single quoted string with a single quote \' inside it and a double quote " too.'

I hope this the above example is self explanatory. To conclude, double quote " inside a double quoted string should be escape ". But a single quote ' inside a double quoted string need not be escaped. Similarly for a single quoted string too.

Thanks,
Regards,
Ratnadeep


Reported errors coming from mostly XOOPS files (banned cms is clean of them, no matter they're using same modules). This was and my mistake, but who the hell got the idea, that everyone in xoops.org maintain language files without following any rules and standards. And the result is present. Errors bellows, plus smaller sizes - if the language file is 37k, TX reads only 7k.

Some PHP Define files returns strange errors or no errors
List 
of strange errors 
'utf8' codec can't decode byte 0xe3 in position 101: invalid continuation byte 
'
utf8' codec can't decode byte 0xa3 in position 695invalid start byte 
'utf8' codec can't decode byte 0xe9 in position 7120: invalid continuation byte 
'
utf8' codec can't decode byte 0xe9 in position 2105invalid continuation byte 
'utf8' codec can't decode byte 0xe9 in position 104: invalid continuation byte


Answer from Infidex:
Quote:

Hi Stefan,

We do not yet support nested elements in PHP files. This in our TODO list in the future. But I am not able to give an ETA on this.

Regards,
Ratnadeep


question: Can you give example how one PHP DEFINE must looks:
answer:
Quote:

Hey Stefan,

You can find some examples herehttp://help.transifex.com/features/formats.html#php-files

Regards,
Ratnadeep

--
Transifex Support Team


What u will get from *real* testers ?
fully functional, bug free module, written in Alien/Yoda English, not understandable, not translatable, not usable. Thanks but no thanks, XOOPS 2.2 Mithrandir and the next release 2.3 are pure example of that. Thanks to *real* and unreal testers, u got somehow stable core, not readable, not understandable, except Wishcraft forks, no other modules are made for 2.3, and except Mithrandir forks nothing else was written for XOOPS 2.2.

I personally don't split testers on Real and Unreal (damn good game, I should spend some more time instead in OS).



62
DCrussader
Re: XOOPS 2.6 Internationalization/Local support

To localization, use locale names instead of portuguese_br and portugueuese_pt, they're should be pt-BT and pt-PT.

Getting out of this 1.3 model of maintaining 4-10 files per module.
2 Files
---- module_admin_name.ini
---- module_site_name.ini

Getting out of PHP DEFINE statement, which is used here like devil's read the bible.
Adopt INI files, J! is not the only CMS using it, as u can see bellow, bigace
http://wiki.bigace.de/bigace:administration:languages
uses INI files too.

This
define("_AM_SENDTOUSERS","Send message to users whose:");
can look as
MOD_SOMETHING_AM_SENDTOUSERS=Send message to users whose:
much easier for reading and maintaining up to date.
May The Source Be With You!



63
DCrussader
Re: XOOPS 2.5.x Translations using Transifex

fa-IR translation done by itmfan
https://sourceforge.net/projects/gtlt/files/XOOPS/fa-IR/?



64
DCrussader
Re: Translation Teams on Transifex

Am I sidekick ? No
How should I know what's done and what's not, same as for the core and modules. When something is completed, there should be a Ping - "Hellooo, I've just finished translation of this or that".

Persian will be added today.

Added
https://xoops.org/modules/newbb/viewtopic.php?post_id=348510#forumpost348510

To be completed (optional):
1. You should translate and add manually all mail_template/ content within /language and every module/.
2. formdhtmleditor.php from /language which is already removed from the other 3 Xoops forks, have to be edited manually, the file is outdated and should be removed with XOOPS 2.3, but heck - it's still there.
3. In install/finish.php - have to be edited with notepad, welcome.php too.
4. Ignore/remove help/ folders within any directory, contains non-sense information and is pointless to be translated...
5. Noticed, that some of your files contains invalid spaces, can u remove them and re-upload the files. With the release of 2.5.6 or 2.6.0 - all such translations containing invalid intervals anywhere in definitions will got wipe (automatically).

Example:
this
define"SERVER_API""API کارگزار" );


should look like this:
define("SERVER_API","API کارگزار");


Bcz of this formatting gijoe's modules will be dropped and translations too (damn how much time I lost with myalbum), which reminds me on point 6.
6. Protector files must be translated manually, bcz they're not with PHP defines.



65
DCrussader
Re: xLanguage 3.03 Beta 1 -ready for testing & feedback

bcz was added here, and so far is the only way to make up multi-lingual site

wont mention the buggiest ever module - NewBB maintained in several different branches and no one is stable enough to be used.

That's current XOOPS folks.
One stable core and few work in progress modules. Sooner or later xLanguage will get fixed, and those bugs will not affect language files.



66
DCrussader
Re: Transifex Requirements for accepting files

Quote:

also utf-8 files should save without BOM.

That was important for the time of 2.0.xx of XOOPS with PHP 4 and MySQL 3, the ready production from TX is in UTF-8 and there is no problem with any XOOPS.

No long or short discussion, they're disallowed, anarchy can be allowed and supported here, but not on TX, if the module developer wants his module in many languages will follow the rules.



67
DCrussader
Transifex Requirements for accepting files

for translations.

Such things, like
Quote:

2. good looking and easy to edit/copy/paste/'look for' part of code ( and not slower for PHP, still )
define'_MD_XFGB_CONFIRM_CODE''Confirm verification code' ) ;



Forget to be accepted or someone else to convert it to the normal way, which should be:
define('_MD_XFGB_CONFIRM_CODE','Confirm verification code');


Also modules like xcontent and benchmark, containing strings which are not supposed to be translated are not welcome too, if u want to see it translated - move them out in another file.

Modules written in past for XOOPS 2.0.18 by some great developers like Herve, Catzwolf, GiJoe - need a lot corrections:
1. Convert them to UTF-8
2. Remove the copyleft information from the headers (french on ISO looks very nice, like Herv?.
3. Check and remove any invalid spaces before making new additions to the language files. Do not add invalid spaces in new additions.

Global (in addition to rest):
1. Verify that all strings are in English (I know that some of u're not native English speakers, but please Spanish words or French in English/ folder are not accepted). If you don't know English at all, contact with one of the team leaders to make it available in normal English, instead of using Google or such automated services to provide English language files.
2. Avoid double posting, same strings in main.php and modinfo.php
2.1. Since XOOPS core files contains so much definitions already, why module developers simply not call them instead to write new one ?
3. When u release new version to a module, no matter from Beta to RC or from RC to Final, mention which files are changed (Language) if there are any changes.
4. When u get response for coding bug, syntax error - respond fast as possible, otherwise looks like the module is released and abandoned.
5. If you get translation submitted from user done with 3rd party program (eg. email, your local support forums), provide it for synchronization with Transifex Platform.
6. Avoid to use misleading terminology, lets take example with e-commerce solution such as osCommerce and it's thousand forks. You are using Weight for Position, and Weight by the default is using to point the user for weight of the package. There is no such thing as Weight for categorization or file sorting. Imagine how will look Category A in position Weight translated as Weight - stupid.

(more to come)....



68
DCrussader
Re: Updates on Transifex Platform




69
DCrussader
Re: MyTabs 2.21 RC Ready for Testing on XOOPS 2.5.5 RC




70
DCrussader
Re: Translation Teams on Transifex

Well, I'll not compare SVN bcz contains too much outdated crap along with some "newly" added translations. Which are incomplete in most cases, wondering why ppl still think that Winmerge + Notepad is the same as TX, it's not.

Most of the files released on this sub-forum still contains language-name_iso - there is no multi-lingual function and ISO in one place. How should I (or the new team leaders) know what's translated and what's coming from XOOPS 2.0.18 ? SF.NET dates/time are not measure. PD Downloads are dead from 2-3 years, but on SF.NET they're added on 2011.

So far as I said, the only teams which are hard working on translations are:
Spanish, French, Portuguese (Brasil), Italian, Slovaks and my team of one man :)




TopTop
« 1 ... 4 5 6 (7) 8 9 10 ... 41 »



Login

Who's Online

202 user(s) are online (72 user(s) are browsing Support Forums)


Members: 0


Guests: 202


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits