Comments (14)
And what if there are no access to the Enternet, for example?
2013/5/14 Pascal Precht [email protected]
There are plunks. That's enough.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/49
.
from angular-translate.
The code is documented well enough. If we really wanna provide a demo folder, then we should at least re-structure it by example.
from angular-translate.
Actually, IMHO, it is sometimes more comfortable to dev/test/try out something against existing demo or samples.
And, separated demo at Plunkr has one drawback: They are not version aware. It is sometimes really hard to find out how a piece of software should work in a non-latest version. You won't support Plunkers to all version, will you? :)
Yeah, we have tests. But nobody want read them to find out how the plugin works. At least, they aren't reality aware. They are the technically reference tests.
from angular-translate.
I'm okay with that. So, demos have to be re-structured.
from angular-translate.
I've updated the issue title.
from angular-translate.
Are there any proposals about the correct structure?
from angular-translate.
Nope. I would simply go like
demo
| - example1
| - example2
etc.
from angular-translate.
I'd say: Each demo case should have its own environment (they will share all common js sources) with a specific name about what it will demonstrate.
from angular-translate.
As a variant 3703627
from angular-translate.
Yeah 👍 :) More structured than before, with additional comments. Looks very good.
I'd not use white spaces in urls.. sometimes has issues. Replace it with _
.
from angular-translate.
Ok, I'll try to fix it tomorrow.
from angular-translate.
@DWand thanks a lot man! Like @knalli said, the file names shouldn't contain whitespaces. Replace the whitespaces with underscores, and I'll merge this soonish into canary :)
from angular-translate.
Here it is #51.
Spaces are replaced with underscores in file names.
And, actually, I don't know German. So, I replaced it to Russian in demos. Hope you will not be offended by this.
from angular-translate.
MERGED
from angular-translate.
Related Issues (20)
- Use templated string as key HOT 1
- bower repo doesn't have latest release tag HOT 3
- De-cloaking broken in 2.18.2 HOT 4
- Default interpolationParams allows access to function constructor HOT 1
- translate dynamic content loaded with ajax HOT 1
- How to use UI router with angular translate? HOT 1
- [email protected] support HOT 5
- translate-sanitize-strategy HOT 4
- “SameSite” attribute warning HOT 1
- Not changing languages on ng-click
- Cookie “NG_TRANSLATE_LANG_KEY” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. HOT 9
- Two Languages at same time HOT 1
- IOS cordova When i upgrade the AngularJs to 1.8.2 the words will be missed which was been translated. HOT 1
- Using AngularJS Filters with Pluralization via MessageFormat HOT 1
- $translatePartialLoader.doesnot allow ë à á characters HOT 4
- $translate.instant with angular expression HOT 1
- Unexpected behavior registering translations with .translations() and using an async loader with .forceAsyncReload(true) HOT 3
- Partial loading can fail silently without any hints HOT 1
- $translateStaticFilesLoader should behave gracefully when one of translations cannot be loaded HOT 1
- Team awareness required: Future project state HOT 7
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 angular-translate.