Comments (7)
Have you tried the using the {{ localeswitcher()|raw }}
in your template? That should output a languageswitcher that uses the localized slugs for each language.
from translate.
Ohw crap, this is embarrassing. It's also on the front page of this github depository. I feel like I've lived my life in a cage. o.O
Do you also have suggestions on translating image file name and the image alt text/title without having to reupload the file? Let me know if you rather have me open another issue for this question.
from translate.
Haha, No problem, I was just beginning to think I broke it somehow 😄
About the images:
The easiest way is probably to use the stack. It should include the latest uploaded files, so just clicking "select from stack" should show the latest 10 or so images you have uploaded. Otherwise you can use "select from server". Those two assume that you are fine with having one file-name for all languages, which should cover 99% of use-cases. If you want translated file-names you will have to upload one file per language. Alt/title text translation should be supported automatically.
Also, I'd be very interested in hearing about any bugs or kinks that you come across in the extension since it hasn't really been battle-tested yet.
from translate.
While not running into bugs, I did encounter other interesting stuff. I get the suggestion to update the database. This seems harmless to me, I did and it fixed stuff. Also installing is not possible without all extension subfiles having 777 permission. While I did set the parentfolder(extensions) to 777, subfolders were ignored in my ftp program. I should really get into the use of command line.
from translate.
Hmm, those are mostly things regarding bolt itself, not this extension specifically... I'm guessing that you haven't used bolt extensively before?
from translate.
Actually I just started using bolt, but I'm starting to like it more and more. Sorry if I haven't been of any good use.
from translate.
No, I didn't mean that it wasn't helpful!
Please feel free to ask/comment here on github or in the IRC/slack channels if you run into any future problems :)
from translate.
Related Issues (20)
- Provide a short documentation about "how it works" HOT 1
- [BUG] Changelog is impossible to follow HOT 4
- Change the DB structure - use a table for translation HOT 2
- Arbitrary localized columns for searching
- translatable: true works but translatable: 1 not
- Redirecting homepage to subdomain HOT 1
- [BUG] No language switcher in contenttype when no tabs are present
- [RFC] Make language switcher on contenttype new pages configurable
- [RFC] Twig_Error_Runtime after updating to Translate 4.1.5 HOT 1
- Any page not preceded by '/contenttype' will switch website to default language HOT 1
- [RFC] Translate taxonomies HOT 2
- [BUG] saving with templatefields throws: Warning: Invalid argument supplied for foreach() HOT 1
- [BUG] status update deletes localized contents HOT 1
- Translations are not saved ? Missed a configuration ? HOT 9
- [RFC] Implementing a routing override blacklist
- Redirect ALL urls to default locale HOT 1
- [RFC] Remove /en slug from URL if default language is en_GB
- [BUG] Error when updating php7.2 -> php7.4 (but I found a trick) HOT 1
- [BUG] Composer error
- [BUG] repeater field is set to a row prior when there's no translation being set on the current row
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 translate.