General discussion of OpenCATS

Moderators: RussH, cptr13

Forum rules: Just remember to play nicely once you walk through the door. You can disagree with us, or any other commenters in this forum, but keep comments directed to the topic at hand.
By MePHiSTY
#130
Hello!

I wrote a feature very important for the CATS which is the support for other languages.

The resources are:
Each user or contact of customer (and planned for a future portal to the client), has its own language.
The system (site_id) is the default language which is used when a new user or contact is added

If someone wants to have the CATS translated into his language,
first pass the language, I will create a code.
Then translate the images contained in the folder images, informing the code that was passed.
For example images in the folder is the image massImport.jpg in PT-BR will be massImport-2.jpg,
in Mianmar language will massImport-3.jpg .... and so on

I am in the middle of the translation of PT-BR and believe that tomorrow i will release a script that will record the language for those who have interest.


I would like to say about my opinions on the discussions related to Cognizo vs CATS vs. Users.
But I have no time.

Russh, if you can not release a SVN access , we can use sourceforge.net.

I renamed my branch to 0.9.2.1, if you have any suggestions...let me know...

[]s,
User avatar
By RussH
#131
That looks like an excellent feature - well done! Unfortunately, I'm using the english version :-D

but, yes - sourceforge - I have approached them, and they have rejected the project as they don't like the CPL. If it was the plain old MPL they'd be happy.

I'll get svn up - it'll just take a week.. unless you volunteer!

RussH
By MePHiSTY
#146
I wrote this feature using the resource of the MySQL Query caching

This means that each request of page, a search will occur in DB data for translation active.

If someone thinks that it is better to use a different method, perhaps leaving in memory the entire string of translation. let me know

I was looked upon the project http://www.danga.com/memcached/
What is a mod for PHP, but found no viable use it
now we have more dependencis of external soft.
By akandels
#147
I found it best to load the translation strings in the user session on login. For a smaller site, MySQL query caching may be ok, but with a decent user base you'll probably see slowdowns. The session cache will keep it written to a file but also intelligently allocate it to memory.

If you decided to take this approach, the file you'll want to add the appropriate variables and functions to is lib/Session.php, the entire session object is written to the cache so any child variables of that class will be included.
By MePHiSTY
#148
I have changed session object, adding language_id.

With the Query Caching:
- can overload the memory
- have more quick answers

With Session:
do not overload the memory
have answers slower, because of access to the disk.

Because the number of different situations (that i can imagine), I will implement both methods.

CONFIG_CACHE_TRANSLATION_METHOD is suggestive :)
By MePHiSTY
#181
Hello!

- I created a class to support the change of language and execute associations with users and contacts of customers .
- There are approximately 2300 Strings
- I reviewed one by one, to translate texts with no copyright, and not break any functionality.
- was created a ID for each string
- Translated all the strings for PT-BR
- I loaded the database with the strings
- And now I am testing, yes, looking string by string in my screen to see if that's ok.

- Once that's done, lack the following:

- Test in different Production environments this feature, with different configurations of hardware.
After the tests, choose the best option between the two already implemented (My SQL Query Caching or PHP Session variable)

Add support for translated images .
To this happens it would be interesting sources of the images. Asim? Andrew?

Download the different languages of TinyMCE. (or create,do not have PT-BR!)
And one way to set configuration of the language of TinyMCE.

Now, i will read the posts about license.

Below the screenshots:
By MePHiSTY
#182
i cant post only with images :)
Attachments
snapshot4.png
snapshot4.png (82.56 KiB) Viewed 8828 times
snapshot3.png
snapshot3.png (99.61 KiB) Viewed 8823 times
By MePHiSTY
#190
Hello!

I have read and re-read all the topics about the license, old topics of the forum, and development
for CATS.

I will put my views.

The old Forum:

The Cognizo, released a O/S software , with support , Cycles of
development and maintenance of the forum.
Nor had any obligation to have done anything like that.

The Cognizo had no obligation to keep the forum active.
Even this may affect the ethics , or be a shame as some spoke.

Simply there isnt this obligation.

I do not think that the reaction of indignation that each one had in its proportions is justified.

I remember on a bug, a date field with incorrect ordering.
and some users were nervous, because of Cognizo not have fixed one bug,
or even answered the question in the forum.

Maybe it,Cognizo spoke about 'strange problems' in your site.

I do not agree with Cognizo and users about, release the list of emails from users of the old forum.
Simply because I signed up for catsone.com and not co.uk.


About CPL:
Many do not like the CPL, but agreed with it when installed CATS on their systems.
And always was the clear intentions of the CPL as the exclusive model in SaaS by Cognizo.

I do not understand why so many problems now

The Development
I do not agree with Asim, on the lack of O / S developer.

IMHO, this is done by a number of factors:

- The model of developing, closed any door for a developer to apply any idea
or efforts in the code.
So I write a code, next version would be everything
lost?

- Many developers do not agree with the CPL.

- And the question on developers O / S are not interested in applications
for business, contributes, but is the smallest part.

The New Forum:
The Forum will be useful for new users and this justifies the existence already.
I do not agree with some view of users and even moderators.

I know, i dont contributed anything to the forum, and for development.
But here, I will not find a favourable environment for help on something.

After my tests, in an production environment , i will post a link to download.




Asim,
Is closed this topic for you?
http://www.catsone.co.uk/forums/viewtopic.php?f=2&t=15


[]s,

It's essential to keep these synchronized to ensur[…]

Export part in Job Order order search

Same problem as mine. Maybe you're right, I'll che[…]

The error message you're encountering indicates th[…]

Errors restoring mysqldump backup

doesnot work for me