Comments (1)
Hi Ritmele
We are fixing the problem, the API has control about the languages and Valencian language code it's more longer than English, Spanish, French..., the code for Valencia is lg-vlca while the Spanish is lg-spa (one letter less)
Ok, If you want to fix the problem before we build the update, you can change in the file:
../lib/dedalo/publication/server_api/v1/common/class.web_data.php
in the line 229 inside the case 'lang':
Change:
preg_match('/^lg-[a-z]{2,3}$/i', $value, $output_array);
to:
preg_match('/^lg-[a-z]{2,5}$/i', $value, $output_array);
I think that this will help to solve the problem.
Best
Alex
from dedalo.
Related Issues (20)
- Getting fatal error almost finishing installation of DEDALO v5.8.3 HOT 2
- "ERR_TOO_MANY_REDIRECTS" executing Dedalo v5.8.3 for the first time HOT 3
- Errors with precompiled software in Dedalo 5.8.3n HOT 1
- How to change RAM requirements used by PHP and PostgreSQL in the virtual machine for developers. HOT 1
- Does Dédalo have 'templates' depending on the collection? HOT 1
- Hide fields from the filters section HOT 1
- Issues installing Dedalo: Failed opening config_auto.php HOT 5
- Menu with valid permissions not shown HOT 2
- Acces Dedalo 6 HOT 3
- Install and test Dédalo 4 : success config but no access to main page HOT 11
- Server(s) infrastructure for a Dedalo installation and a nice front web HOT 1
- Import Toponomy problem HOT 2
- Portuguese Translation HOT 4
- Dedalo HOT 1
- Getting database connection error HOT 6
- Tools in Dedalo 6 HOT 1
- Update ontology json file HOT 1
- Import Toponomy final step HOT 2
- Linking the images to other tables HOT 1
- Subtitle sync HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dedalo.