Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Language files: several lists should be in the database and not the language files #12

Closed
KatarzynaUlichnowska opened this issue Dec 17, 2014 · 3 comments
Assignees
Labels
🤷‍♂️ MoreInfoRequired We need more information in order to be able to investigate this issue. ❔ question This is a question about the YetiForce system.

Comments

@KatarzynaUlichnowska
Copy link
Contributor

Change request for the near future:
Actually I found some list in the language files, which should be defined in the database.
Examples: Products.php and Quotes.php definition of product groups:
'300-Sales-Software'=>'300-Sales-Software',
'301-Sales-Hardware'=>'301-Sales-Hardware',
'302-Rental-Income'=>'302-Rental-Income',
'303-Interest-Income'=>'303-Interest-Income',
'304-Sales-Software-Support'=>'304-Sales-Software-Support',
'305-Sales Other'=>'305-Sales Other',
'306-Internet Sales'=>'306-Internet Sales',
'307-Service-Hardware Labor'=>'307-Service-Hardware Labor',
'308-Sales-Books'=>'308-Sales-Books',
It makes not really sense there and should be found in the product settings in the database where it could be used from quotes, products etc..
The user must be able to change this without problems.
Also currencies should be completely in the database. Now therea re some defintions in the database and a translation in the language file...
And there are not all currencies defined.
Also in vtiger.php you find "Industries"
Some are very special and only localy usable like the polish definitions of goverment.
The user should be able to define his industries in the database.
Also the salut to the customer "Mrs, Ms, Mr, Hello, Dr,.." and so on should be defined in the database.
Is it possible to make this configurable within YetiForce without problems?
Is this a big problem for the structure or is it easy to change?
Thx

@KatarzynaUlichnowska
Copy link
Contributor Author

Comment from Andrew:
Got also problem with currency. Asian currencies are not showing correctly. This is very urgent issue as it not allow work at all. I would like to ask yetiforce team to address and prioritize this case

@maikst
Copy link
Contributor

maikst commented Dec 18, 2014

You can change the currencies in the language file and in the databse by yourself.
So, as long as it is not included in Yetiforce it is a workaround.

@bpabiszczak bpabiszczak self-assigned this Dec 19, 2014
@bpabiszczak
Copy link
Contributor

I don't understand this problem. Curently, a translating function works as follows:

  1. Checks if the translation is in a translation file of a module, if not, then:
  2. Checks if the translation is in the main file of the translation, if not, then:
  3. It throws translations saved in the database.

Examples provided by you are possible to be translated from a language files level. I don't see any incorrectness here.

@bpabiszczak bpabiszczak added ❔ question This is a question about the YetiForce system. 🤷‍♂️ MoreInfoRequired We need more information in order to be able to investigate this issue. labels Jan 26, 2015
mariuszkrzaczkowski pushed a commit that referenced this issue Aug 1, 2016
@Pikaloko Pikaloko mentioned this issue Oct 15, 2017
@gsamushia gsamushia mentioned this issue Dec 7, 2020
@gsamushia gsamushia mentioned this issue Feb 25, 2021
2 tasks
@Akaki-1991 Akaki-1991 mentioned this issue Aug 4, 2021
2 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🤷‍♂️ MoreInfoRequired We need more information in order to be able to investigate this issue. ❔ question This is a question about the YetiForce system.
Projects
None yet
Development

No branches or pull requests

3 participants