Comments (7)
Hi Ricardo,
Thank you for raising this issue. It has generated some interesting discussions here at Artefactual!
I've done a bit of initial investigation, and it seems this is something we are inheriting from Symfony's defaults. Looking further, it seems that, while English (and some other languages) typically capitalize proper nouns including languages, Portuguese (and others, like French, Spanish, etc) typically do not capitalize languages when writing?
If you want to make this change right now, you should be able to edit this file locally, if you clear the application cache, restart PHP-FPM, and if in use, memcached after. You may need to re-index as well. However, I haven't tested this myself yet, so make sure you test in a dev environment, and/or make a data backup first if you try this!
In terms of implementing this change in the public project - given I'm not a Portuguese speaker, and there are also other languages in our language menu to consider, I wonder if perhaps we should try to have a broader discusson in the forum or something to solicit some other opinions first?
Cheers,
Dan Gillean, MAS/MLIS
AtoM Program Manager
from atom.
Hi Dan,
I'm glad for generating interesting discussions at Artefactual based on this. ;-)
I'm not the best person to answer to your questions, not even to start a boarder discussion about this.
In my personal opinion all options on the Language menu should be in capitalized words.
All web sites/apps I can remember of implement this, no matter what language they are on.
At this point, the AtoM language menu with some languages capitalized and other not, it just don't look right!
And there is another problem with the AtoM language menu. The languages text should change according to the activated language. As you know, "English" in french is "Anglais" and in portuguese is "Inglês".
I've searched for a reference, and found it at the google translator language selection drop-down:
https://translate.google.com/?hl=pt (capitalized)
https://translate.google.com/?hl=fr (capitalized)
https://translate.google.com/?hl=es (not capitalized)
Eventually our suggestion (mine and José Anjos) of changing Symfony's defaults in pt.dat for solving the problem was not the best one. I can suggest you to study other better solutions for the particular "AtoM language menu" problem.
I hope this could be of any help!
Cheers,
Ricardo Pinho
from atom.
Hi again Ricardo,
You make a good case! Also, I suppose that not capitalizing in a sentence is different than when it is the START of a sentence - or just a single word in a menu.
At this point we are finalizing the 2.6 release, so I suspect this will need to wait for the next release. However, at that time I will discuss this further with our team, and suggest that we make the language menu capitalization consistent.
Thanks again!
from atom.
Hi Dan,
That's exactly my point, that I couldn't clearly explain in english.
My umbel suggestion to solve it could be to: apply a capitalize function to all language names when filling the pulldown menu.
Regarding the other problem I mentioned, translate all language names.
I'm afraid my suggestion could become a problem to visitors that couldn't understand the names on the language menu.
Imagine we enter an AtoM site with chinese default language. How could we find the English or Portuguese option?! ;-)
Unless we could complement the language name with an international symbol (like a flag image).
So, for now, probably the best is to keep the language menu as it is and eventually only capitalize all names by default.
My umbel contribution.
And keep up the good work!
Cheers!
from atom.
Hey @ricardodepinho, see a simple proposed solution in #1302.
from atom.
Thanks @mInnes-archives . Excellent!
I will give it a try ASAP.
Cheers
from atom.
@fiver-watson, this issue is probably safe to close now.
from atom.
Related Issues (20)
- Problem: Accessions get duplicate fields when modified by a CSV import HOT 2
- Problem: PDF masters can still be accessed by public users even when permissions are configured to deny
- Problem: bulk cli authority record csv export does not include language or script fields
- Enhancement: Exclude hidden fields from CSVs exported by public users
- Problem: Authenticated users cannot dismiss banner generated by unauthenticated export
- Problem: Carousel not visible for draft descriptions with repository specific permissions
- PHP error, warnings and notices when using qubit_dev.php HOT 7
- Problem: Diacritics mapping config is not tracked during internal upgrade/replication.
- Enhancement: AtoM CLI tools should provide a non-interactive path
- Problem: memprof Dockerfile typo
- Problem: QubitCSP filter missing on qtSwordPlugin
- Problem: Access Copies links don't always link properly. HOT 1
- Problem: Finding aids pdfs have errors
- Proposal: Consider raising the default installation value for the full-width treeview's "Items per page" setting HOT 2
- Problem: AtoM no longer updates the clipboard results across browser tabs, resulting in overwritten clipboard items
- Problem: GUI CSV export for descriptions only outputs single culture
- Problem: GUI CSV export for actors only outputs single culture
- Problem: GUI CSV export for institutions only outputs single culture
- Problem: CSV GUI export logs wrong number of items exported. HOT 1
- Problem: CSV GUI export doesn't log items exported.
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 atom.